# HG changeset patch # User Mike Kinghan # Date 1290694082 0 # Node ID bdd30170987bf872f5932111158856d6ec468712 # Parent c0501b51f2b92d991b5ecc870a23342f36f974dd 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. diff -r c0501b51f2b9 -r bdd30170987b 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