#
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
#
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
# 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
# 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
# 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
# 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
};
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
};
# <