summaryrefslogtreecommitdiff
path: root/tools/root.make (follow)
Commit message (Collapse)AuthorAge
* Refactor and unify objcopy calls in the build system. Also now properly ↵Thomas Martitz2012-04-04
| | | | | | handles DEBUG builds on hosted targets to keep debug symbols if necessary. Change-Id: I884031b79c6d49479e4d95752f35ced68872dd5d
* Enable tlsf in warble build to fix it.Thomas Martitz2012-03-29
| | | | Change-Id: I5b43a995264b4e699fb62ded72139a7e0ee7f46d
* build system: completely autodetect target cpu architecture.Thomas Martitz2012-03-28
| | | | | | | | | | | | The existing ARCH Makefile variable is exported to the C code as well. Additionally the version (arm-only for now) is detected as well. This allows to for complete autodetection, i.e. that optimized ASM is picked up if determined by preprocessor (CPU_ARM, etc). Building a sim/raaa on a arm host will now automatically generate a arm optmized build like we have for native targets. Change-Id: I0b35393f8fb3ebd20beaa9e7371fa57bf3782107
* tlsf: move to /lib (it's also used by plugins).Thomas Martitz2012-03-28
| | | | Change-Id: I5e37b28c1ce4608d60b036343f280af3311ad490
* Fix makefile conditionsFrank Gevaerts2012-03-27
| | | | Change-Id: I7e36cec5e3dd86b3220a8a14561596aaa81fdefb
* Fix warble and clean up/refactor Makefile.Thomas Martitz2012-03-27
| | | | Change-Id: I8754ad8724e22147b98a156fecea599bdda72292
* Partly undo 54e00c1: put include back to root.make and use SECONDEXPANSION.Thomas Martitz2012-03-26
| | | | Change-Id: If38507ed896f577ea30e2ddae3bac3f4b98cee59
* Fix bootloaders.Thomas Martitz2012-03-26
| | | | Change-Id: I7e1666d604c554509375a4ae858ff3cd7be96b3a
* Fix sim/checkwps build failure.Thomas Martitz2012-03-26
| | | | Change-Id: Iefd533fe26495a29f8e79113b38748b504d94213
* build system: unify/simplify library handling a bit.Thomas Martitz2012-03-26
| | | | | | | libs in $ROOT/lib now add to $(CORE_LIBS) and $(EXTRA_LIBS) and are automatically linked by the core and codecs/plugins respectively. Change-Id: Iff482c792a8c8142718f6a16a450c6e2f1497c9a
* Build librbcodec with DSP and metadata.Sean Bartell2012-03-18
| | | | | | All associated files are moved to /lib/rbcodec. Change-Id: I572ddd2b8a996aae1e98c081d06b1ed356dce222
* Integrate the warble tool in the regular build system.Frank Gevaerts2012-03-03
| | | | | | Only sdl app builds work properly for now. Change-Id: I7807d42f69b8577b401e48cdc63de71e54f49217
* Arm stack unwinderMarcin Bukat2012-02-22
| | | | | | | | | Simplified stack unwinder for ARM. This is port of http://www.mcternan.me.uk/ArmStackUnwinding/ backtrace() is called from UIE() on native targets and from panicf() on both native and ARM RaaA. Change-Id: I8e4b3c02490dd60b30aa372fe842d193b8929ce0
* Move supprt-arm.S to separate library.Thomas Martitz2012-01-21
| | | | | | | Core, codecs and plugins link it separately so this gets rid of SOURCES trickery. Don't build it for hosted targets. Change-Id: If15ef90e93cd218a4352ae8e89eea95d3122452f
* Initial commit of the Samsung YP-R0 port.Thomas Martitz2011-12-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This port is a hybrid native/RaaA port. It runs on a embedded linux system, but is the only application. It therefore can implement lots of stuff that native targets also implement, while leveraging the underlying linux kernel. The port is quite advanced. User interface, audio playback, plugins work mostly fine. Missing is e.g. power mangement and USB (see SamsungYPR0 wiki page). Included in utils/ypr0tools are scripts and programs required to generate a patched firmware. The patched firmware has the rootfs modified to load Rockbox. It includes a early/safe USB mode. This port needs a new toolchain, one that includes glibc headers and libraries. rockboxdev.sh can generate it, but e.g. codesourcey and distro packages may also work. Most of the initial effort is done by Lorenzo Miori and others (on ABI), including reverse engineering and patching of the original firmware, initial drivers, and more. Big thanks to you. Flyspray: FS#12348 Author: Lorenzo Miori, myself Merry christmas to ypr0 owners! :) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31415 a1c6a512-1295-4272-9138-f99709370657
* Added NODEPS define to skip recompilation for zip and apk builds. Usage: ↵Björn Stenberg2011-06-22
| | | | | | make zip NODEPS=1 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30050 a1c6a512-1295-4272-9138-f99709370657
* Pandora port: Automate rockbox.pnd (=binary archive) buildThomas Jarosch2011-06-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29991 a1c6a512-1295-4272-9138-f99709370657
* Add build dependency to zipBjörn Stenberg2011-06-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29977 a1c6a512-1295-4272-9138-f99709370657
* Android: rework r29929 AndroidManifest.xml version handling.Dominik Riebeling2011-05-29
| | | | | | | | Put the generated AndroidManifest.xml into the bin subfolder and remove it from clean list. Avoids problems with cleaning if you're building in the android/ folder. Thanks to kugel for pointing out that people are actually doing that. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29931 a1c6a512-1295-4272-9138-f99709370657
* Add source tree version into AndroidManifest.xmlDominik Riebeling2011-05-29
| | | | | | | Use the source tree version as versionName string. As result the Android Settings menu will now show that version instead of a rather unhelpful "1.0". git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29929 a1c6a512-1295-4272-9138-f99709370657
* Android: remove rockbox.apk when doing 'make clean'Maurus Cuelenaere2011-03-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29564 a1c6a512-1295-4272-9138-f99709370657
* *really* don't automatically build convttfFrank Gevaerts2011-03-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29554 a1c6a512-1295-4272-9138-f99709370657
* Anti-Aliased Fonts support.Thomas Martitz2011-03-05
| | | | | | | | | | | | | 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
* FS#11966 - use separate modelnames and config files for RaaA. This adds an ↵Dave Chapman2011-02-27
| | | | | | 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
* Forgot to add the help text for make elfzip.Alex Parker2011-02-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29406 a1c6a512-1295-4272-9138-f99709370657
* Add "elfzip" target to make which creates a zip of all elf files, as mapzip ↵Alex Parker2011-02-20
| | | | | | does for map files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29360 a1c6a512-1295-4272-9138-f99709370657
* Clean up multiple definitions of RAM size. Remove -DMEM (make) and MEM ↵Andree Buschmann2011-02-02
| | | | | | (code), use the already defined MEMORYSIZE instead. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29189 a1c6a512-1295-4272-9138-f99709370657
* Android build tweaks.Antoine Cellerier2011-01-24
| | | | | | | | | | 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
* Added the symlinkinstall make target. See #11825Michael Stummvoll2010-12-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28915 a1c6a512-1295-4272-9138-f99709370657
* Redo r28026 so that all .S files get the __ASSEMBLER__ define.Thomas Martitz2010-12-27
| | | | | | Patch by Thomas Jarosch. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28913 a1c6a512-1295-4272-9138-f99709370657
* Extend make clean for android zu also cleanup the compiled java classes and ↵Thomas Martitz2010-09-12
| | | | | | | | 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
* Android: don't compile stubs.c and kill off libuisimulator entirely.Thomas Martitz2010-09-02
| | | | | | | 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
* Move setjmp to lib and add setjmp for sh (imported from newlib) and compile ↵Thomas Martitz2010-08-24
| | | | | | | | | 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
* makefilesRafaël Carré2010-08-21
| | | | | | | | | | | | | | | - 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
* Fix message output for make install and make fullinstallMichael Chicoine2010-08-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27749 a1c6a512-1295-4272-9138-f99709370657
* Rockbox as an application: add get_user_file_path().Thomas Martitz2010-08-01
| | | | | | | | | | | 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
* FS#11470 - new skin code, finally svn uses the new parser from the theme ↵Jonathan Gordon2010-07-29
| | | | | | 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
* Revert r27550 : we don't want to generate dependancies for firmware/Rafaël Carré2010-07-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27551 a1c6a512-1295-4272-9138-f99709370657
* include firmware.make unconditionallyRafaël Carré2010-07-25
| | | | | | 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
* Rename/change SIMVER to APP_TYPE in the Makefiles.Thomas Martitz2010-07-10
| | | | | | | 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
* Move -Wl,-z,defs to GLOBAL_LDOPTS (instead of GCCOPTS), to avoid noise in ↵Frank Gevaerts2010-07-03
| | | | | | older gcc output when not linking git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27260 a1c6a512-1295-4272-9138-f99709370657
* Change "features" and "genlang-features" targets to no longer use multiple ↵Frank Gevaerts2010-06-30
| | | | | | targets in one rule. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27195 a1c6a512-1295-4272-9138-f99709370657
* Moved libskin_parser to lib. Added it to link line.Björn Stenberg2010-06-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27105 a1c6a512-1295-4272-9138-f99709370657
* bininstall: works for PREFIX directories with spacesRafaël Carré2010-06-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26961 a1c6a512-1295-4272-9138-f99709370657
* make bininstall rule depend on the binaryRafaël Carré2010-06-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26959 a1c6a512-1295-4272-9138-f99709370657
* new bininstall rule to install rockbox binary onlyRafaël Carré2010-06-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26958 a1c6a512-1295-4272-9138-f99709370657
* don't parse features.txt when not neededRafaël Carré2010-06-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26957 a1c6a512-1295-4272-9138-f99709370657
* make clean: delete lib/ directoryRafaël Carré2010-06-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26955 a1c6a512-1295-4272-9138-f99709370657
* Added skin_parser library to build system.Björn Stenberg2010-06-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26885 a1c6a512-1295-4272-9138-f99709370657
* Generate C file / header for svn version stringRafaël Carré2010-05-27
| | | | | | | | | | | | | | | | | | | | | | | | 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