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.
--- 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