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.zip rockbox-1f3d667b1a8d4a11d2745ce22b89566265b48142.tar.gz rockbox-1f3d667b1a8d4a11d2745ce22b89566265b48142.tar.bz2 rockbox-1f3d667b1a8d4a11d2745ce22b89566265b48142.tar.xz | |
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 d890639..dd52fba 100644 --- a/apps/plugins/plugin.lds +++ b/apps/plugins/plugin.lds @@ -10,10 +10,10 @@ OUTPUT_FORMAT(elf32-littlearm) OUTPUT_FORMAT(elf32-sh) #elif defined(CPU_MIPS) OUTPUT_FORMAT(elf32-littlemips) -#else -/* We cannot have an #error here since we don't have any of these defines - define when we build simulators! - #error Unknown CPU architecture */ +#elif !defined(SIMULATOR) +/* We cannot have an #error here when building simulators since we don't have + any CPU defined then! */ +#error Unknown CPU architecture #endif #ifdef DEBUG |