Provide an option for the base/rom extension that causes the toolchain id (ARMCC or GCCE) to be defined for GCC_SURGE
authorMike Kinghan <mikek@symbian.org>
Thu, 25 Nov 2010 14:08:02 +0000
branchGCC_SURGE
changeset 133 bdd30170987b
parent 127 c0501b51f2b9
child 134 68046085ff95
Provide an option for the base/rom extension that causes the toolchain id (ARMCC or GCCE) to be defined for the C preprocessor phase of rombuild, enabling rom files to be conditionally included or excluded depending on whether the toolchain can build them. This mimics the same change for Beagleboard.
baseport/syborg/bld.inf
--- a/baseport/syborg/bld.inf	Mon Nov 01 10:36:09 2010 +0000
+++ b/baseport/syborg/bld.inf	Thu Nov 25 14:08:02 2010 +0000
@@ -136,6 +136,12 @@
 // Build image armv5 for urel and udeb
 PRJ_EXTENSIONS
 start	extension	base/rom
+#ifdef ARMCC
+option ROM_DEFS ARMCC
+#endif
+#ifdef GCCE
+option ROM_DEFS GCCE
+#endif
 option	REE_TARGET	syborg
 option	TYPE	tshell
 end