]> git.kernelconcepts.de Git - karo-tx-redboot.git/blobdiff - packages/hal/arm/mx37/karo/v1_0/cdl/hal_arm_tx37.cdl
RedBoot Release TX53-v3 2012-02-08
[karo-tx-redboot.git] / packages / hal / arm / mx37 / karo / v1_0 / cdl / hal_arm_tx37.cdl
index 75da54b09dc7ca6b48652c40ede86fa83faa344e..4dba313961be73a8a77b65f9b8108add547bc9ed 100644 (file)
@@ -153,7 +153,7 @@ cdl_package CYGPKG_HAL_ARM_TX37KARO {
             display       "Global command prefix"
             flavor        data
             no_define
-            default_value { "arm-1136jfs-linux-gnu" }
+            default_value { "arm-1136jfs-linux-gnu" . (CYGBLD_ARM_EABI ? "eabi" : "") }
             description   "
                 This option specifies the command prefix used when
                 invoking the build tools."
@@ -164,7 +164,10 @@ cdl_package CYGPKG_HAL_ARM_TX37KARO {
             flavor        data
             no_define
             requires CYGBLD_INFRA_CFLAGS_WARNINGS_AS_ERRORS
-            default_value { "-mcpu=arm9 -mabi=apcs-gnu -Wall -Wno-pointer-sign -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -O2 -ffunction-sections -fdata-sections -fno-exceptions -fvtable-gc -finit-priority -Werror -pipe" }
+            default_value { (CYGHWR_THUMB ? "-mthumb " : "") . \
+           (CYGBLD_ARM_ENABLE_THUMB_INTERWORK ? "-mthumb-interwork " : "") . \
+           (CYGBLD_ARM_EABI ? "-mabi=aapcs-linux -msoft-float " : "-mabi=apcs-gnu ") . \
+           "-mcpu=arm9 -Wall -Wno-pointer-sign -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -O2 -ffunction-sections -fdata-sections -fno-exceptions -fvtable-gc -finit-priority -Werror -pipe" }
             description   "
                 This option controls the global compiler flags which are used to
                 compile all packages by default. Individual packages may define