summaryrefslogtreecommitdiff
path: root/tools/root.make
AgeCommit message (Collapse)Author
2011-03-09*really* don't automatically build convttfFrank Gevaerts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29554 a1c6a512-1295-4272-9138-f99709370657
2011-03-05Anti-Aliased Fonts support.Thomas Martitz
This enables Rockbox to render anti-aliased fonts using an alpha blending method. The input font bitmaps are 4bit, i.e. 4x larger, but the metadata size stays the same. A tool, convttf, for converting ttf fonts directly to the Rockbox fnt format is provided. It has a useful help output, but the parameter that works best is -c1 or -c2 (2 for larger font sizes). Flyspray: FS#8961 Author: Initial work by Jonas Hurrelmann, further work by Fred Bauer, Andrew Mahone, Teruaki Kawashima and myself. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29523 a1c6a512-1295-4272-9138-f99709370657
2011-02-27FS#11966 - use separate modelnames and config files for RaaA. This adds an ↵Dave Chapman
APPLICATION define that can be used in Makefiles, and target-name defines (-DSDLAPP, -DANDROID, -DNOKIAN8XX and -DNOKIAN900) for use elsewhere. LCD size is now hard-coded for the Nokia builds in their config files. A new --app parameter is passed to buildzip.pl to explicitly state that this is an application build - it was previously derived from the model name. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29418 a1c6a512-1295-4272-9138-f99709370657
2011-02-26Forgot to add the help text for make elfzip.Alex Parker
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29406 a1c6a512-1295-4272-9138-f99709370657
2011-02-20Add "elfzip" target to make which creates a zip of all elf files, as mapzip ↵Alex Parker
does for map files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29360 a1c6a512-1295-4272-9138-f99709370657
2011-02-02Clean up multiple definitions of RAM size. Remove -DMEM (make) and MEM ↵Andree Buschmann
(code), use the already defined MEMORYSIZE instead. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29189 a1c6a512-1295-4272-9138-f99709370657
2011-01-24Android build tweaks.Antoine Cellerier
Add make install target for android builds. Remove standard install targets as they don't apply. Add java compilation dependancy on generated resource class(es?) to prevent weird runtime issues. Update installApk.sh script to use correct tool location in recent sdks. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29131 a1c6a512-1295-4272-9138-f99709370657
2010-12-28Added the symlinkinstall make target. See #11825Michael Stummvoll
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28915 a1c6a512-1295-4272-9138-f99709370657
2010-12-27Redo r28026 so that all .S files get the __ASSEMBLER__ define.Thomas Martitz
Patch by Thomas Jarosch. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28913 a1c6a512-1295-4272-9138-f99709370657
2010-09-12Extend make clean for android zu also cleanup the compiled java classes and ↵Thomas Martitz
apks (and everything else generated during build process). This also seems to fix a problem with make apk on some machines. Thanks to Dustin Skoracki for helping to investigate. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28062 a1c6a512-1295-4272-9138-f99709370657
2010-09-02Android: don't compile stubs.c and kill off libuisimulator entirely.Thomas Martitz
Seperate make rules in a almost empty android.make. Also add forgotten powermgmt-android.c git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27977 a1c6a512-1295-4272-9138-f99709370657
2010-08-24Move setjmp to lib and add setjmp for sh (imported from newlib) and compile ↵Thomas Martitz
it as separate library. It's used by both, plugins and codecs, and sh/hwcodec doesn't compile codecs so it doesn't fit into sources. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27869 a1c6a512-1295-4272-9138-f99709370657
2010-08-21makefilesRafaël Carré
- some functions don't need to return their output, drop $(shell ... ) and prefix with $(SILENT), make V=1 will show the complete scripts being run - tweak make.dep generation: make the temporary file appear in root.make only, and remove a useless "real command", there is already a real command (mv) - make addtargetdir.pl terminate its output with a newline ($(shell) did that for us) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27855 a1c6a512-1295-4272-9138-f99709370657
2010-08-08Fix message output for make install and make fullinstallMichael Chicoine
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27749 a1c6a512-1295-4272-9138-f99709370657
2010-08-01Rockbox as an application: add get_user_file_path().Thomas Martitz
For RaaA it evaluates user paths at runtime. For everything but codecs/plugins it will give the path under $HOME/.config/rockbox.org if write access is needed or if the file/folder in question exists there (otherwise it gives /usr/local/share/rockbox). This allows for installing themes under $HOME as well as having config.cfg and other important files there while installing the application (and default themes) under /usr/local. On the DAPs it's a no-op, returing /.rockbox directly. Not converted to use get_user_file_path() are plugins themselves, because RaaA doesn't build plugins yet. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27656 a1c6a512-1295-4272-9138-f99709370657
2010-07-29FS#11470 - new skin code, finally svn uses the new parser from the theme ↵Jonathan Gordon
editor. This means that a skin that passes the editor WILL pass svn and checkwps (unless the target runs out of skin buffer or something. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27613 a1c6a512-1295-4272-9138-f99709370657
2010-07-25Revert r27550 : we don't want to generate dependancies for firmware/Rafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27551 a1c6a512-1295-4272-9138-f99709370657
2010-07-25include firmware.make unconditionallyRafaël Carré
checkwps and database tools need to find their way to our headers git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27550 a1c6a512-1295-4272-9138-f99709370657
2010-07-10Rename/change SIMVER to APP_TYPE in the Makefiles.Thomas Martitz
SIMVER was really only used to detect a simulator build. With APP_TYPE you can now differentiate between simulator, application, checkwps and database builds. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27372 a1c6a512-1295-4272-9138-f99709370657
2010-07-03Move -Wl,-z,defs to GLOBAL_LDOPTS (instead of GCCOPTS), to avoid noise in ↵Frank Gevaerts
older gcc output when not linking git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27260 a1c6a512-1295-4272-9138-f99709370657
2010-06-30Change "features" and "genlang-features" targets to no longer use multiple ↵Frank Gevaerts
targets in one rule. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27195 a1c6a512-1295-4272-9138-f99709370657
2010-06-24Moved libskin_parser to lib. Added it to link line.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27105 a1c6a512-1295-4272-9138-f99709370657
2010-06-19bininstall: works for PREFIX directories with spacesRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26961 a1c6a512-1295-4272-9138-f99709370657
2010-06-19make bininstall rule depend on the binaryRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26959 a1c6a512-1295-4272-9138-f99709370657
2010-06-19new bininstall rule to install rockbox binary onlyRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26958 a1c6a512-1295-4272-9138-f99709370657
2010-06-19don't parse features.txt when not neededRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26957 a1c6a512-1295-4272-9138-f99709370657
2010-06-19make clean: delete lib/ directoryRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26955 a1c6a512-1295-4272-9138-f99709370657
2010-06-17Added skin_parser library to build system.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26885 a1c6a512-1295-4272-9138-f99709370657
2010-05-27Generate C file / header for svn version stringRafaël Carré
It's now easier to force rebuild of files depending on the svn revision version.c/version.h are generated once with new tools/genversion.sh Changes in the VCS are still not auto detected, so you'll have to remove builddir/version.* if you want to change the string in your binaries APPSVERSION is now called RBVERSION and is defined in the generated header instead of being defined by the Makefiles appsversion is now called rbversion (the plugin api number didn't change since old modules are still binary compatible) Change some bootloaders to use knwon-at-buildtime RBVERSION instead of "%s" + rbversion You'll need to run make clean to regenerate dependencies after the removal of apps/version.h To build binaries with a different version string, hand-edit tools/version.sh or tools/genversion.sh (which calls the former) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26320 a1c6a512-1295-4272-9138-f99709370657
2010-03-20Filter out -g in PPCFLAGS. Some (older?) gcc versions add a comment when ↵Jens Arnold
building dependency files and -g is present. The proper solution would be to make addtargetdir.pl handle (strip) comment lines. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25253 a1c6a512-1295-4272-9138-f99709370657
2010-02-25tools/database: build process updates.Yoshihisa Uchida
- buildable for Cygwin/MinGW. - SDL cobfig is set by using SDL-config. - metadata/*.c add automaticaly when database tool builds. - bitmap files do not create when database tool builds. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24908 a1c6a512-1295-4272-9138-f99709370657
2010-02-16Fix parallel buildingMaurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24705 a1c6a512-1295-4272-9138-f99709370657
2010-02-15make veryclean: remove tools/iaudio_bl_flash.[ch]Maurus Cuelenaere
These are generated files by the build; at least "make veryclean" should remove them. Author: Junio C Hamano Flyspray: FS#10967 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24664 a1c6a512-1295-4272-9138-f99709370657
2010-01-24*.link: depends on config file where plugin buffer size is setRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24322 a1c6a512-1295-4272-9138-f99709370657
2009-12-30Do not try to generate dependencies of lua filesRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24125 a1c6a512-1295-4272-9138-f99709370657
2009-10-28Move mktccboot from tools/ to rbutil/mktccboot/ - inspired by FS#10728 but ↵Dave Chapman
with no functional changes to code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23382 a1c6a512-1295-4272-9138-f99709370657
2009-10-07Make the database tool buildable from configure.Frank Gevaerts
Also update the checkwps makefile to make checkwps builds not break git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22998 a1c6a512-1295-4272-9138-f99709370657
2009-09-13Repair build-all.sh and clean-all.sh.Thomas Martitz
Make it so that it runs ../configure and make for each target. This makes the wrapper-Makefile obsolete. It moves the binaries to tools/checkwps/output. NOTE: Something is fishy with the creative players (it builds them, but can't move them), because the configure target name and modelname differs (not sure how to fix that). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22696 a1c6a512-1295-4272-9138-f99709370657
2009-09-01Fixed checkwps build warnings. Updated checkwps makefile to be closer to main.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22593 a1c6a512-1295-4272-9138-f99709370657
2009-08-21Forgot a fileMaurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22457 a1c6a512-1295-4272-9138-f99709370657
2009-08-02Don't mention having to run 'make reconf' when you're runing 'make reconf'Antoine Cellerier
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22111 a1c6a512-1295-4272-9138-f99709370657
2009-07-13Add new asmdefs mechanism for exporting information only available to the C ↵Andrew Mahone
compiler for use in asm files, and use it in arm jpeg idct. See apps/apps.make, apps/core_asmdefs.c, and apps/recorder/jpeg_idct_arm.S for details. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21831 a1c6a512-1295-4272-9138-f99709370657
2009-04-12Second try for make install for normal builds. Now differentiate better ↵Thomas Martitz
between "PREFIX not set" and "PREFIX not set, but also not needed". Also, recreate the PREFIX when running make reconf. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20694 a1c6a512-1295-4272-9138-f99709370657
2009-04-11Revert r20687 since it breaks make zip.Jonas Häggqvist
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20692 a1c6a512-1295-4272-9138-f99709370657
2009-04-11Fix 'make fullinstall'Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20689 a1c6a512-1295-4272-9138-f99709370657
2009-04-11"make (full)install" for normal builds, specifiy the installation ↵Thomas Martitz
destination with PREFIX (e.g. PREFIX=/mnt/my_dap ../tools/configure). PREFIX not needed for sims, as it defaults to simdisk although PREFIX can override simdisk/. Use zip -r0 for install, and -r9 for for actual zips. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20687 a1c6a512-1295-4272-9138-f99709370657
2009-04-03Let make bin create rockbox-info.txt too.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20609 a1c6a512-1295-4272-9138-f99709370657
2009-03-11Commit FS#9614 by Yoshihisa Uchida: fix 'make tools'Maurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20289 a1c6a512-1295-4272-9138-f99709370657
2009-03-10Don't rebuild the dependency file on 'make reconf'. Build type and target ↵Jens Arnold
won't change, and there are some build types where the .dep file isn't needed at all, e.g. voice. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20282 a1c6a512-1295-4272-9138-f99709370657
2009-03-02Move generated lang-related files to their own directory in preparation of ↵Tom Ross
localizable plugins. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20170 a1c6a512-1295-4272-9138-f99709370657