diff options
author | Thomas Martitz <kugel@rockbox.org> | 2009-05-20 23:30:24 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2009-05-20 23:30:24 +0000 |
commit | a9fdf86459d504adf0ddb1dc7ec6dbab410941b2 (patch) | |
tree | f8453631bf377499b298f32520d97410e62c28a1 | |
parent | d2595ec0757607f094c758ed0f72f71cbe174955 (diff) | |
download | rockbox-a9fdf86459d504adf0ddb1dc7ec6dbab410941b2.tar.gz rockbox-a9fdf86459d504adf0ddb1dc7ec6dbab410941b2.zip |
Fix reds and yellows. The targets that showed have more that just #define (like inline functions) in their soc specific header, which the linker doesn't like of course.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21002 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/plugins/plugin.lds | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds index 456e6b4e01..57b2faf027 100644 --- a/apps/plugins/plugin.lds +++ b/apps/plugins/plugin.lds | |||
@@ -1,5 +1,4 @@ | |||
1 | #include "config.h" | 1 | #include "config.h" |
2 | #include "cpu.h" | ||
3 | 2 | ||
4 | /* These output formats should be in the config-files */ | 3 | /* These output formats should be in the config-files */ |
5 | 4 | ||
@@ -42,12 +41,13 @@ OUTPUT_FORMAT(elf32-littlemips) | |||
42 | #define DRAMSIZE (MEMORYSIZE * 0x100000) - STUBOFFSET - PLUGIN_BUFFER_SIZE - CODEC_SIZE - LCD_TTB_AREA | 41 | #define DRAMSIZE (MEMORYSIZE * 0x100000) - STUBOFFSET - PLUGIN_BUFFER_SIZE - CODEC_SIZE - LCD_TTB_AREA |
43 | 42 | ||
44 | #elif CONFIG_CPU==S3C2440 | 43 | #elif CONFIG_CPU==S3C2440 |
45 | #define LCD_BUFFER_SIZE (LCD_WIDTH*LCD_HEIGHT*2) | 44 | #include "cpu.h" |
46 | /* must be 16Kb (0x4000) aligned */ | 45 | /* must be 16Kb (0x4000) aligned */ |
47 | #define TTB_SIZE (0x4000) | 46 | #define TTB_SIZE (0x4000) |
48 | #define DRAMSIZE (MEMORYSIZE * 0x100000) - STUBOFFSET - PLUGIN_BUFFER_SIZE - CODEC_SIZE - LCD_BUFFER_SIZE - TTB_SIZE | 47 | #define DRAMSIZE (MEMORYSIZE * 0x100000) - STUBOFFSET - PLUGIN_BUFFER_SIZE - CODEC_SIZE - LCD_BUFFER_SIZE - TTB_SIZE |
49 | 48 | ||
50 | #elif CONFIG_CPU==AS3525 | 49 | #elif CONFIG_CPU==AS3525 |
50 | #include "cpu.h" | ||
51 | #define DRAMORIG DRAM_ORIG | 51 | #define DRAMORIG DRAM_ORIG |
52 | #ifdef AMS_LOWMEM | 52 | #ifdef AMS_LOWMEM |
53 | #define DRAMSIZE (DRAM_SIZE - PLUGIN_BUFFER_SIZE - STUBOFFSET - TTB_SIZE) | 53 | #define DRAMSIZE (DRAM_SIZE - PLUGIN_BUFFER_SIZE - STUBOFFSET - TTB_SIZE) |