Commit graph

77 commits

Author SHA1 Message Date
Daniel Stenberg
22b7701fe7 Build cleanup and general fixes. fprintf() is now fdprintf(), the separation
between uisimulator files and firmware/apps files are better done.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6031 a1c6a512-1295-4272-9138-f99709370657
2005-02-22 12:19:12 +00:00
Daniel Stenberg
cdde25b597 Unified build system to use SOURCES for sim builds too, a single Makefile-look
made by configure and various related adjustments. This has not yet been tested
on cygwin.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6001 a1c6a512-1295-4272-9138-f99709370657
2005-02-18 13:47:17 +00:00
Dave Chapman
5b2d874a36 Incorporate apps/codecs into the build system based on SOFTWARECODECS configuration variable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5964 a1c6a512-1295-4272-9138-f99709370657
2005-02-16 00:38:31 +00:00
Linus Nielsen Feltzing
66111fd987 Added GCCOPTS to the linker command line, to let the linker know exactly which target to link for
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5493 a1c6a512-1295-4272-9138-f99709370657
2004-12-19 23:38:35 +00:00
Linus Nielsen Feltzing
5c437a355c Don't build the rocks if ENABLEDPLUGINS isn't set
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5205 a1c6a512-1295-4272-9138-f99709370657
2004-10-07 08:32:50 +00:00
Daniel Stenberg
59bec2eaa0 don't build UCL files for targets that don't support flashing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5204 a1c6a512-1295-4272-9138-f99709370657
2004-10-07 08:20:25 +00:00
Daniel Stenberg
9c85941786 new SOURCES file that specifies which files to build in each dir, use
config.h preprocessor symbols to make conditionals

use the GCCOPTS now specified in the root Makefile by configure


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5158 a1c6a512-1295-4272-9138-f99709370657
2004-10-04 13:03:33 +00:00
Daniel Stenberg
8e55d0cca0 adjusted to work better in the new concept
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5108 a1c6a512-1295-4272-9138-f99709370657
2004-09-22 21:40:45 +00:00
Daniel Stenberg
fc1e925c16 Rearranged makefiles again to move platform-specific stuff from the Makefiles
to either the configure script or to be ifdefed in the sources.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5103 a1c6a512-1295-4272-9138-f99709370657
2004-09-22 08:58:50 +00:00
Jens Arnold
e997ddf8a4 Clean romstart file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5068 a1c6a512-1295-4272-9138-f99709370657
2004-09-11 22:04:00 +00:00
Jörg Hohensohn
218d90b307 build system updated to include Ondio option
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5052 a1c6a512-1295-4272-9138-f99709370657
2004-09-09 06:01:46 +00:00
Daniel Stenberg
f1847ee783 check the size of the .bin file, not the .ucl file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5047 a1c6a512-1295-4272-9138-f99709370657
2004-09-06 09:16:06 +00:00
Daniel Stenberg
948e384f4d removed the hard-coded size limit from the Makefile with some preprocessor
magic and a modified perl script


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5045 a1c6a512-1295-4272-9138-f99709370657
2004-09-06 08:50:47 +00:00
Daniel Stenberg
678090a2e7 rombox support: building and zip
general makefile: less output


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5043 a1c6a512-1295-4272-9138-f99709370657
2004-09-06 07:05:12 +00:00
Linus Nielsen Feltzing
f209eb9a83 Prepared for ROM builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4938 a1c6a512-1295-4272-9138-f99709370657
2004-07-24 19:04:49 +00:00
Linus Nielsen Feltzing
1f7975744e the apps files shouldn't be compiled with -DPLUGIN
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4810 a1c6a512-1295-4272-9138-f99709370657
2004-06-27 11:03:54 +00:00
Linus Nielsen Feltzing
defca5b061 Further adjustments for the plugin library
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4634 a1c6a512-1295-4272-9138-f99709370657
2004-05-18 23:17:53 +00:00
Linus Nielsen Feltzing
e2ee28cd53 No need to create .mod/.ajz/.ucl files for the debug builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4454 a1c6a512-1295-4272-9138-f99709370657
2004-03-30 12:00:19 +00:00
Daniel Stenberg
2fa3ea313d bring back the cat for the preprocessing of the app.lds file, since
Jörg got problems on cygwin with the previous "< file" approach.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4190 a1c6a512-1295-4272-9138-f99709370657
2004-01-04 13:30:16 +00:00
Daniel Stenberg
0115af21d9 removed the neo-specific scramble-tool and made it an option to scramble
instead, and made the makefile use this


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4140 a1c6a512-1295-4272-9138-f99709370657
2003-12-12 14:07:28 +00:00
Daniel Stenberg
ca71062221 Rockbox on Neo support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4137 a1c6a512-1295-4272-9138-f99709370657
2003-12-12 13:33:04 +00:00
Daniel Stenberg
e6cf70a613 uh, recorder v2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4039 a1c6a512-1295-4272-9138-f99709370657
2003-11-19 07:14:19 +00:00
Daniel Stenberg
fbd36a8180 use v2 scrambling for recorder v2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4038 a1c6a512-1295-4272-9138-f99709370657
2003-11-19 06:42:07 +00:00
Björn Stenberg
d527849e66 Proper echo of uclpack command line
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3963 a1c6a512-1295-4272-9138-f99709370657
2003-09-29 21:14:43 +00:00
Hardeep Sidhu
940cdce3f5 Missed one
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3909 a1c6a512-1295-4272-9138-f99709370657
2003-08-01 02:06:24 +00:00
Hardeep Sidhu
2450e7afaf $< and were backwards
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3908 a1c6a512-1295-4272-9138-f99709370657
2003-08-01 01:47:22 +00:00
Daniel Stenberg
fe95c863e0 corrected the 2uclpack mistake
and fixed up some targets to use the convenience macros more


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3907 a1c6a512-1295-4272-9138-f99709370657
2003-07-31 22:09:07 +00:00
Daniel Stenberg
a4aaa07176 If uclpack is not there, produce a faked one to avoid getting that message
more often than we need.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3906 a1c6a512-1295-4272-9138-f99709370657
2003-07-31 21:59:06 +00:00
Daniel Stenberg
ef523debc9 If you make sure that you have 'uclpack' in your $PATH when you run make
with this makefile, we'll produce a nice little UCL file in the build
directory. This target does a run-time check for the presence of uclpack.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3905 a1c6a512-1295-4272-9138-f99709370657
2003-07-31 21:55:21 +00:00
Daniel Stenberg
9b1b610bd0 Henrik Backe's patch that makes the .map files get created in the build
directory and not in the source directory.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3872 a1c6a512-1295-4272-9138-f99709370657
2003-07-24 09:42:59 +00:00
Björn Stenberg
13d56150b6 Added plugin support for 8MB-modified units. This bumps the plugin API version number again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3831 a1c6a512-1295-4272-9138-f99709370657
2003-07-13 22:15:19 +00:00
Björn Stenberg
ba371fb595 Added plugin loader. Moved games, demos and the text viewer to loadable plugins. Copy your *.rock files to /.rockbox/rocks/
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3769 a1c6a512-1295-4272-9138-f99709370657
2003-06-29 16:33:04 +00:00
Daniel Stenberg
4da844596b default to the old staticly set tools dir
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3582 a1c6a512-1295-4272-9138-f99709370657
2003-04-22 22:21:22 +00:00
Daniel Stenberg
b6bd35298b use TOOLSDIR as passed-in
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3580 a1c6a512-1295-4272-9138-f99709370657
2003-04-22 22:19:19 +00:00
Uwe Freese
4846ce8654 export MEM variable in firmware and apps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3371 a1c6a512-1295-4272-9138-f99709370657
2003-03-03 13:17:49 +00:00
Daniel Stenberg
b0c6276b40 Moved to one single .lds file for ALL builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3347 a1c6a512-1295-4272-9138-f99709370657
2003-02-26 16:05:30 +00:00
Daniel Stenberg
ae03eec5db MEM should be passed in to this make, setting the size of the DRAM in MB.
We now preprocess the .lds file to allow macros/#ifdef etc and we now set
the DRAM size using a define. In combination with the recent configure fix,
this should allow us to build 8MB versions "out of the box".

The 'dist' target was removed.

'archos' was replaced with 'rockbox' in all the temporary file names when
building/linking. Plain cosmetic change.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3345 a1c6a512-1295-4272-9138-f99709370657
2003-02-26 09:16:48 +00:00
Daniel Stenberg
0f4141e8e2 use the same .lds file for recorder and player, they were identical anyway!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3342 a1c6a512-1295-4272-9138-f99709370657
2003-02-26 08:23:27 +00:00
Daniel Stenberg
572ced56cf Assign ANYREC before checking if this is a DEBUG build or not, without this
the FM rec debug build fails miserably.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3292 a1c6a512-1295-4272-9138-f99709370657
2003-02-18 08:45:41 +00:00
Daniel Stenberg
910cc29d92 we only include from firmware/include and export, no other firmware dir
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3222 a1c6a512-1295-4272-9138-f99709370657
2003-02-07 10:14:40 +00:00
Daniel Stenberg
fa5a32e255 new include path
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3215 a1c6a512-1295-4272-9138-f99709370657
2003-02-07 09:43:45 +00:00
Daniel Stenberg
4a144859a0 When building the FM version, invoke 'scramble' with the -fm option.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3108 a1c6a512-1295-4272-9138-f99709370657
2003-01-16 14:44:08 +00:00
Daniel Stenberg
8acdc4a3ef FM Recorder support added
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3105 a1c6a512-1295-4272-9138-f99709370657
2003-01-16 14:36:46 +00:00
Daniel Stenberg
50424aec2e generate a raw list from the docs/CREDITS file and include that in credits.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2639 a1c6a512-1295-4272-9138-f99709370657
2002-10-15 07:49:47 +00:00
Daniel Stenberg
de4a3af55e re-run the language tools if new ones arrive
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2618 a1c6a512-1295-4272-9138-f99709370657
2002-10-14 12:18:49 +00:00
Björn Stenberg
bde60b66d1 Bill Napier's more elegant fix to disallow running make in apps and firmware.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2480 a1c6a512-1295-4272-9138-f99709370657
2002-10-02 16:47:38 +00:00
Björn Stenberg
410c75bd06 Crude kludge to prevent people from running 'make' in the apps and firmware dirs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2449 a1c6a512-1295-4272-9138-f99709370657
2002-09-30 14:42:31 +00:00
Daniel Stenberg
28185e60be genlang needs perl -s, and I added some files to the clean target
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2359 a1c6a512-1295-4272-9138-f99709370657
2002-09-20 15:34:19 +00:00
Daniel Stenberg
4aacecd965 Run the perl scripts with "perl [script]", I think this makes Windows users
happier.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2356 a1c6a512-1295-4272-9138-f99709370657
2002-09-20 14:59:44 +00:00
Daniel Stenberg
df64d96e7d use uplang first, then genlang the new file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2342 a1c6a512-1295-4272-9138-f99709370657
2002-09-20 06:40:13 +00:00