mirror of
https://github.com/thead-yocto-mirror/meta-external-toolchain
synced 2026-09-16 12:13:08 +02:00
-a64 and -me6500 are PowerPC architecture-specific assembler flags only intended for 64bit mode of e6500 core. -a64 - generates ELF64 or XCOFF64. -me6500 - generates code for Freescale e6500 core complex. Jira ID: http://jira.alm.mentorg.com:8080/browse/SIEJIR-3452 Signed-off-by: Fahad Arslan <Fahad_Arslan@mentor.com>
22 lines
1.4 KiB
HTML
22 lines
1.4 KiB
HTML
# Sourcery G++'s binutils isn't patched with armv5e support
|
|
ARMPKGSFX_THUMB_armv5 = "${@bb.utils.contains("TUNE_FEATURES", "thumb", "${ARM_THUMB_SUFFIX}", "", d)}"
|
|
|
|
# Use the additional tuning flags which Sourcery G++ provides in certain
|
|
# cases, to ensure that the correct multilibs are used. E.g. '-te500v2'.
|
|
SOURCERY_GXX_IS_PRO = "${@'1' if os.path.exists('${EXTERNAL_TOOLCHAIN}/license') else '0'}"
|
|
|
|
# Workaround for ICE of gcc-4.8.x when passing -mfloat-gprs=double
|
|
# Bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57717#c1
|
|
# Replace double-float with single-float, revert this when above bug is fixed
|
|
PPCE500V2_CCARG = "${@'-te500v2' if d.getVar('SOURCERY_GXX_IS_PRO', True) == '1' else '-mcpu=8548 -mabi=spe -mspe -mfloat-gprs=single'}"
|
|
TUNE_CCARGS_append = "${@bb.utils.contains('TUNE_FEATURES', 'ppce500v2', ' ' + d.getVar('PPCE500V2_CCARG', True), '', d)}"
|
|
|
|
PPCE500MC_CCARG = "${@'-te500mc' if d.getVar('SOURCERY_GXX_IS_PRO', True) == '1' else '-mcpu=e500mc'}"
|
|
TUNE_CCARGS_append = "${@bb.utils.contains('TUNE_FEATURES', 'ppce500mc', ' ' + d.getVar('PPCE500MC_CCARG', True), '', d)}"
|
|
|
|
PPCE6500_CCARG = "${@'-te6500' if d.getVar('SOURCERY_GXX_IS_PRO', True) == '1' else '-mcpu=e6500'}"
|
|
TUNE_CCARGS_append = " ${@bb.utils.contains("TUNE_FEATURES", "e6500", ' ' + d.getVar('PPCE6500_CCARG', True), '', d)}"
|
|
TUNE_ASARGS_e6500-64b += "${@bb.utils.contains("TUNE_FEATURES", "m64", "-a64 -me6500", "", d)}"
|
|
|
|
TUNE_CCARGS_remove_t4240rdb-64b = "-mcpu=e6500"
|