Commit graph

124 commits

Author SHA1 Message Date
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
Björn Stenberg
505eca76e6 New language/string handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2327 a1c6a512-1295-4272-9138-f99709370657
2002-09-18 14:08:05 +00:00
Linus Nielsen Feltzing
0b63760045 New player directory with icons
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2142 a1c6a512-1295-4272-9138-f99709370657
2002-09-03 07:39:55 +00:00
Björn Stenberg
1f4e4d339c Reverted back to monospace again. Let's not rock the boat until people can change it themselves (i.e. loadable fonts).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2032 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 11:54:41 +00:00
Björn Stenberg
8ef71bafff Made LCD_PROPFONTS and LOADABLE_FONTS mutually exclusive
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2020 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 06:42:43 +00:00
Linus Nielsen Feltzing
db22700d32 Added -DLCD_PROPFONTS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2019 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 06:14:16 +00:00
Björn Stenberg
af406a1f6d Made LCD_PROPFONTS default on recorder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2016 a1c6a512-1295-4272-9138-f99709370657
2002-08-27 22:49:13 +00:00
Daniel Stenberg
b285076925 Remade the menu system slightly. All functions invoked from menus now use
the Menu typedef as return type, and *ALL* menus that intercept USB connect
can then return MENU_REFRESH_DIR so that the parent (any parent really) that
do file or dir-accesses knows that and can do the refresh. If no refresh
is needed by the parent, MENU_OK is returned.

Somewhat biggish commit this close to 1.3, but we need to sort out this
refresh-after-usb-connected business.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1948 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 12:32:52 +00:00
Daniel Stenberg
ef3a3e7093 use the gcc option -ffreestanding: (quote from the gcc man page)
"A freestanding environment is one in which the standard library may not
exist, and program startup may not necessarily be at "main".  The most obvious
example is an OS kernel."


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1818 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 14:00:42 +00:00
Daniel Stenberg
f769e5306f tags target added
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1752 a1c6a512-1295-4272-9138-f99709370657
2002-08-15 09:31:07 +00:00
Björn Stenberg
cd225736f9 First version of loadable fonts patch by Alex Gitelman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1666 a1c6a512-1295-4272-9138-f99709370657
2002-08-11 09:17:47 +00:00
Björn Stenberg
6d55a71e0e Added build timestamp in version string
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1349 a1c6a512-1295-4272-9138-f99709370657
2002-07-15 13:19:00 +00:00
Daniel Stenberg
a73cb1795f add our libc headers directory to the include path
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1037 a1c6a512-1295-4272-9138-f99709370657
2002-06-17 13:23:09 +00:00
Daniel Stenberg
0530349c1f Player builds now use a separate linker control file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1028 a1c6a512-1295-4272-9138-f99709370657
2002-06-17 06:49:29 +00:00
Björn Stenberg
a07d4f6cfa Changed to correct target name for recorder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@952 a1c6a512-1295-4272-9138-f99709370657
2002-06-11 10:16:29 +00:00
Daniel Stenberg
4be9441322 the recorder now gets an archos.ajz output file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@849 a1c6a512-1295-4272-9138-f99709370657
2002-05-31 09:16:34 +00:00
Björn Stenberg
bb4e1436b9 Removed libc from link line
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@836 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 21:04:40 +00:00
Daniel Stenberg
b395c145bd clean removes the map file too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@724 a1c6a512-1295-4272-9138-f99709370657
2002-05-27 07:29:20 +00:00
Björn Stenberg
d45a2d2cc8 Added -Imalloc and fixed archos.map to OBJDIR
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@699 a1c6a512-1295-4272-9138-f99709370657
2002-05-24 15:39:18 +00:00
Daniel Stenberg
2cc66b66e0 pass on more variables to firmware when we build librockbox
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@689 a1c6a512-1295-4272-9138-f99709370657
2002-05-24 10:11:23 +00:00
Daniel Stenberg
ce907176c6 fix clean target
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@684 a1c6a512-1295-4272-9138-f99709370657
2002-05-24 09:31:45 +00:00
Daniel Stenberg
66b2cd06b0 fix -I for recorder, also use -L to find the librockbox properly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@681 a1c6a512-1295-4272-9138-f99709370657
2002-05-24 09:00:37 +00:00
Daniel Stenberg
b4809b85cb -g on DEBUG builds, generate the librockbox.a properly if absent
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@674 a1c6a512-1295-4272-9138-f99709370657
2002-05-23 14:29:53 +00:00
Daniel Stenberg
bea081f5ec OBJDIR support added
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@672 a1c6a512-1295-4272-9138-f99709370657
2002-05-23 13:55:43 +00:00
Björn Stenberg
6466b62e5d Added extra source files if compiling recorder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@644 a1c6a512-1295-4272-9138-f99709370657
2002-05-21 14:33:00 +00:00
Björn Stenberg
7f64303420 Added DEBUG option, enabling support for gdb stub
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@627 a1c6a512-1295-4272-9138-f99709370657
2002-05-17 19:52:56 +00:00
Björn Stenberg
6cb1f7b08b Now uses librockbox.a
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@598 a1c6a512-1295-4272-9138-f99709370657
2002-05-16 14:48:17 +00:00
Björn Stenberg
8218285c0b Initial revision
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@586 a1c6a512-1295-4272-9138-f99709370657
2002-05-16 12:53:40 +00:00