]> git.kernelconcepts.de Git - karo-tx-redboot.git/blobdiff - packages/hal/arm/mx51/karo/v1_0/cdl/hal_arm_tx51.cdl
RedBoot Release TX53-v3 2012-02-08
[karo-tx-redboot.git] / packages / hal / arm / mx51 / karo / v1_0 / cdl / hal_arm_tx51.cdl
index dfcdf6a2d04051fe9d13bfbaa5b949878a30648f..561289f543f2c8a95b9105cb2dc87ccb4aba08da 100644 (file)
@@ -156,7 +156,7 @@ cdl_package CYGPKG_HAL_ARM_TX51KARO {
             display       "Global command prefix"
             flavor        data
             no_define
-            default_value { "arm-926ejs-linux-gnu" }
+            default_value { "arm-cortexa8-linux-gnu" . (CYGBLD_ARM_EABI ? "eabi" : "") }
             description   "
                 This option specifies the command prefix used when
                 invoking the build tools."
@@ -167,7 +167,10 @@ cdl_package CYGPKG_HAL_ARM_TX51KARO {
             flavor        data
             no_define
             requires CYGBLD_INFRA_CFLAGS_WARNINGS_AS_ERRORS
-            default_value { "-march=armv5 -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 -mfloat-abi=softfp " : "-mabi=apcs-gnu ") . \
+           "-march=armv7-a -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