puts $::cdl_system_header "#define CYGBLD_HAL_TARGET_H <pkgconf/hal_arm.h>"
puts $::cdl_system_header "#define CYGBLD_HAL_VARIANT_H <pkgconf/hal_arm_soc.h>"
puts $::cdl_system_header "#define CYGBLD_HAL_PLATFORM_H <pkgconf/hal_arm_tx27.h>"
+ puts $::cdl_system_header "#define CYGBLD_HAL_PLF_DEFS_H <cyg/hal/karo_tx27.h>"
puts $::cdl_header "#define HAL_PLATFORM_CPU \"Freescale i.MX27 based\""
puts $::cdl_header "#define HAL_PLATFORM_BOARD \"Ka-Ro TX27 processor module\""
puts $::cdl_header "#define HAL_PLATFORM_MACHINE_TYPE 1600"
display "Global command prefix"
flavor data
no_define
- default_value { "arm-926ejs-linux-gnu" }
+ default_value { "arm-926ejs-linux-gnu" . (CYGBLD_ARM_EABI ? "eabi" : "") }
description "
This option specifies the command prefix used when
invoking the build tools."
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