summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2012-03-03 20:35:19 +0100
committerFrank Gevaerts <frank@gevaerts.be>2012-03-03 20:35:19 +0100
commitb9ce249772590fd241b99121e1685619ff7c22e6 (patch)
tree7e926d9e26ef7e5261a310057de207945011b071
parentefd25bf6db04a134d553b210f10b13d13eeaab29 (diff)
downloadrockbox-b9ce249772590fd241b99121e1685619ff7c22e6.tar.gz
rockbox-b9ce249772590fd241b99121e1685619ff7c22e6.zip
Don't define CPU_* for __PCTOOL__
Change-Id: Id49577a002627eb830f833f101b83471d11ec271
-rw-r--r--firmware/export/config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h
index 50f35c5212..80bd83d61d 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -523,6 +523,8 @@ Lyre prototype 1 */
523 523
524/* setup CPU-specific defines */ 524/* setup CPU-specific defines */
525 525
526#ifndef __PCTOOL__
527
526/* define for all cpus from SH family */ 528/* define for all cpus from SH family */
527#if (CONFIG_CPU == SH7034) 529#if (CONFIG_CPU == SH7034)
528#define CPU_SH 530#define CPU_SH
@@ -590,6 +592,8 @@ Lyre prototype 1 */
590#define CPU_MIPS 32 592#define CPU_MIPS 32
591#endif 593#endif
592 594
595#endif /*__PCTOOL__*/
596
593/* now set any CONFIG_ defines correctly if they are not used, 597/* now set any CONFIG_ defines correctly if they are not used,
594 No need to do this on CONFIG_'s which are compulsory (e.g CONFIG_CODEC ) */ 598 No need to do this on CONFIG_'s which are compulsory (e.g CONFIG_CODEC ) */
595 599