summaryrefslogtreecommitdiff
path: root/firmware/export/config.h
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2009-11-07 10:48:05 +0000
committerNils Wallménius <nils@rockbox.org>2009-11-07 10:48:05 +0000
commit109f182b0c16e2ebb50fbae746550730151d8913 (patch)
tree8d1977fda7754e992743e59a3e48a794623b0021 /firmware/export/config.h
parent9b6d3d74b380625f62fccb985043e864c648d330 (diff)
downloadrockbox-109f182b0c16e2ebb50fbae746550730151d8913.tar.gz
rockbox-109f182b0c16e2ebb50fbae746550730151d8913.zip
Introduce new config header 'config-sim.h' that takes care of undefining things that shouldn't be defined for sims so that the target configs no longer need to have #ifndef SIMULATOR sections and to bring some consistency for what is and is not included for sims.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23547 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config.h')
-rw-r--r--firmware/export/config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h
index adc03d54f8..bb1c5eab19 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -403,6 +403,11 @@ Lyre prototype 1 */
403/* no known platform */ 403/* no known platform */
404#endif 404#endif
405 405
406/* keep this include after the target configs */
407#ifdef SIMULATOR
408#include "config-sim.h"
409#endif
410
406/* setup basic macros from capability masks */ 411/* setup basic macros from capability masks */
407#include "config_caps.h" 412#include "config_caps.h"
408 413