X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-redboot.git;a=blobdiff_plain;f=config%2FTX51-80x1.ecc;fp=config%2FTX51-80x1.ecc;h=c6f0439a33f87fdcefdf57a5903c9c7f9f412968;hp=a458c85f92a462f9d71493922855288ce3f3eca8;hb=fdef8b5c36d8aeb8061bd7241937f53b01b435a2;hpb=e87296bb9f2179c32f52410e4ff45347d9131791 diff --git a/config/TX51-80x1.ecc b/config/TX51-80x1.ecc index a458c85f..c6f0439a 100644 --- a/config/TX51-80x1.ecc +++ b/config/TX51-80x1.ecc @@ -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 @@ -4220,7 +4249,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 @@ -4240,7 +4269,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 }; @@ -10322,9 +10351,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 }; # <