diff options
author | Daniel Stenberg <daniel@haxx.se> | 2009-02-09 16:18:07 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2009-02-09 16:18:07 +0000 |
commit | 1f3d667b1a8d4a11d2745ce22b89566265b48142 (patch) | |
tree | 316c3fe416cdfa65526a8b8a4bff6743d30a5c6b /apps/plugins/plugin.lds | |
parent | 293ca3eaad1aeb576fa146e7f66d8933edf7d501 (diff) | |
download | rockbox-1f3d667b1a8d4a11d2745ce22b89566265b48142.tar.gz rockbox-1f3d667b1a8d4a11d2745ce22b89566265b48142.zip |
do the #error for unknown CPU in the cases we're not building a sim
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19956 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/plugin.lds')
-rw-r--r-- | apps/plugins/plugin.lds | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds index d890639c75..dd52fbac22 100644 --- a/apps/plugins/plugin.lds +++ b/apps/plugins/plugin.lds | |||
@@ -10,10 +10,10 @@ OUTPUT_FORMAT(elf32-littlearm) | |||
10 | OUTPUT_FORMAT(elf32-sh) | 10 | OUTPUT_FORMAT(elf32-sh) |
11 | #elif defined(CPU_MIPS) | 11 | #elif defined(CPU_MIPS) |
12 | OUTPUT_FORMAT(elf32-littlemips) | 12 | OUTPUT_FORMAT(elf32-littlemips) |
13 | #else | 13 | #elif !defined(SIMULATOR) |
14 | /* We cannot have an #error here since we don't have any of these defines | 14 | /* We cannot have an #error here when building simulators since we don't have |
15 | define when we build simulators! | 15 | any CPU defined then! */ |
16 | #error Unknown CPU architecture */ | 16 | #error Unknown CPU architecture |
17 | #endif | 17 | #endif |
18 | 18 | ||
19 | #ifdef DEBUG | 19 | #ifdef DEBUG |