xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/gcc/gcc_11.3.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunrequire recipes-devtools/gcc/gcc-${PV}.inc
2*4882a593Smuzhiyunrequire gcc-target.inc
3*4882a593Smuzhiyun
4*4882a593Smuzhiyun# Building with thumb enabled on armv4t armv5t fails with
5*4882a593Smuzhiyun# | gcc-4.8.1-r0/gcc-4.8.1/gcc/cp/decl.c:7438:(.text.unlikely+0x2fa): relocation truncated to fit: R_ARM_THM_CALL against symbol `fancy_abort(char const*, int, char const*)' defined in .glue_7 section in linker stubs
6*4882a593Smuzhiyun# | gcc-4.8.1-r0/gcc-4.8.1/gcc/cp/decl.c:7442:(.text.unlikely+0x318): additional relocation overflows omitted from the output
7*4882a593SmuzhiyunARM_INSTRUCTION_SET:armv4 = "arm"
8*4882a593SmuzhiyunARM_INSTRUCTION_SET:armv5 = "arm"
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunARMFPARCHEXT:armv6 = "${@'+fp' if d.getVar('TARGET_FPU') == 'hard' else ''}"
11*4882a593SmuzhiyunARMFPARCHEXT:armv7a = "${@'+fp' if d.getVar('TARGET_FPU') == 'hard' else ''}"
12*4882a593SmuzhiyunARMFPARCHEXT:armv7ve = "${@'+fp' if d.getVar('TARGET_FPU') == 'hard' else ''}"
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunBBCLASSEXTEND = "nativesdk"
15