]> git.kernelconcepts.de Git - karo-tx-redboot.git/blobdiff - config/TX51-80x2.ecc
RedBoot Release TX53-v3 2012-02-08
[karo-tx-redboot.git] / config / TX51-80x2.ecc
index 5f754992805adbb6dd6540affc4ba48d80d411f7..97bd1deee5f6d3307f0c6a538c5b7ef19cb5909f 100644 (file)
@@ -76,9 +76,12 @@ cdl_component CYGBLD_GLOBAL_OPTIONS {
 #
 cdl_option CYGBLD_GLOBAL_COMMAND_PREFIX {
     # Flavor: data
-    user_value arm-cortexa8-linux-gnu
-    # value_source user
-    # Default value: arm-926ejs-linux-gnu
+    # No user value, uncomment the following line to provide one.
+    # user_value arm-cortexa8-linux-gnueabi
+    # value_source default
+    # Default value:  "arm-cortexa8-linux-gnu" . (CYGBLD_ARM_EABI ? "eabi" : "") 
+    #     CYGBLD_ARM_EABI == 1
+    #   --> arm-cortexa8-linux-gnueabi
 };
 
 # Global compiler flags
@@ -88,11 +91,14 @@ cdl_option CYGBLD_GLOBAL_COMMAND_PREFIX {
 #
 cdl_option CYGBLD_GLOBAL_CFLAGS {
     # Flavor: data
-    user_value "-march=armv7-a -mfpu=fpa -mabi=apcs-gnu -Wall -Wno-pointer-sign -Wpointer-arith -Wstrict-prototypes -Wno-inline -Wundef -O2 -g -ffunction-sections -fdata-sections -fno-exceptions -fvtable-gc -finit-priority -Werror -pipe"
-    # The inferred value should not be edited directly.
-    inferred_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"
-    # value_source user
-    # 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"
+    # No user value, uncomment the following line to provide one.
+    # user_value "-mabi=aapcs-linux -mfloat-abi=softfp -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"
+    # value_source default
+    # 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" 
+    #     CYGHWR_THUMB == 0
+    #     CYGBLD_ARM_ENABLE_THUMB_INTERWORK == 0
+    #     CYGBLD_ARM_EABI == 1
+    #   --> "-mabi=aapcs-linux -mfloat-abi=softfp -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"
     # Requires: CYGBLD_INFRA_CFLAGS_WARNINGS_AS_ERRORS
     #     CYGBLD_INFRA_CFLAGS_WARNINGS_AS_ERRORS == 1
     #   --> 1
@@ -2800,6 +2806,25 @@ cdl_option CYGHWR_THUMB {
     # The following properties are affected by this value
     # option CYGBLD_ARM_ENABLE_THUMB_INTERWORK
     #     DefaultValue:  (CYGHWR_THUMB || CYGSEM_HAL_ROM_MONITOR) 
+    # option CYGBLD_GLOBAL_CFLAGS
+    #     DefaultValue:  (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" 
+};
+
+# Enable EABI
+# Use EABI tool-chain to compile eCos.
+#
+cdl_option CYGBLD_ARM_EABI {
+    # Flavor: bool
+    # No user value, uncomment the following line to provide one.
+    # user_value 1
+    # value_source default
+    # Default value: 1
+
+    # The following properties are affected by this value
+    # option CYGBLD_GLOBAL_COMMAND_PREFIX
+    #     DefaultValue:  "arm-cortexa8-linux-gnu" . (CYGBLD_ARM_EABI ? "eabi" : "") 
+    # option CYGBLD_GLOBAL_CFLAGS
+    #     DefaultValue:  (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" 
 };
 
 # Enable Thumb interworking compiler option
@@ -2822,6 +2847,10 @@ cdl_option CYGBLD_ARM_ENABLE_THUMB_INTERWORK {
     #     CYGHWR_THUMB == 0
     #     CYGSEM_HAL_ROM_MONITOR == 1
     #   --> 1
+
+    # The following properties are affected by this value
+    # option CYGBLD_GLOBAL_CFLAGS
+    #     DefaultValue:  (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" 
 };
 
 # The platform and architecture supports Big Endian operation
@@ -4221,7 +4250,7 @@ cdl_option CYGBLD_INFRA_CFLAGS_WARNINGS_AS_ERRORS {
     # value_source user
     # Default value: 0
     # Requires:  is_substr(CYGBLD_GLOBAL_CFLAGS, " -Werror") 
-    #     CYGBLD_GLOBAL_CFLAGS == "-march=armv7-a -mfpu=fpa -mabi=apcs-gnu -Wall -Wno-pointer-sign -Wpointer-arith -Wstrict-prototypes -Wno-inline -Wundef -O2 -g -ffunction-sections -fdata-sections -fno-exceptions -fvtable-gc -finit-priority -Werror -pipe"
+    #     CYGBLD_GLOBAL_CFLAGS == "-mabi=aapcs-linux -mfloat-abi=softfp -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"
     #   --> 1
 
     # The following properties are affected by this value
@@ -4241,7 +4270,7 @@ cdl_option CYGBLD_INFRA_CFLAGS_PIPE {
     # value_source user
     # Default value: 0
     # Requires:  is_substr(CYGBLD_GLOBAL_CFLAGS, " -pipe") 
-    #     CYGBLD_GLOBAL_CFLAGS == "-march=armv7-a -mfpu=fpa -mabi=apcs-gnu -Wall -Wno-pointer-sign -Wpointer-arith -Wstrict-prototypes -Wno-inline -Wundef -O2 -g -ffunction-sections -fdata-sections -fno-exceptions -fvtable-gc -finit-priority -Werror -pipe"
+    #     CYGBLD_GLOBAL_CFLAGS == "-mabi=aapcs-linux -mfloat-abi=softfp -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"
     #   --> 1
 };
 
@@ -10323,9 +10352,9 @@ cdl_option CYGPKG_ERROR_CFLAGS_ADD {
 cdl_option CYGPKG_ERROR_CFLAGS_REMOVE {
     # Flavor: data
     # No user value, uncomment the following line to provide one.
-    # user_value ""
+    # user_value -Wno-pointer-sign
     # value_source default
-    # Default value: ""
+    # Default value: -Wno-pointer-sign
 };
 
 # <