arm_eabi_supporting_arches = "armv6 armv6-novfp \
armv5te iwmmxt armv7a armv7 armv5teb armv4t"
ppc_spe_supporting_arches = "ppce500v2 ppce500"
-
- if bb.data.getVar("LIBC", d, 1) == "uclibc":
+ gnu_suffix = ""
+ if bb.data.getVar('LIBC', d, 1) == "uclibc":
libc_suffix = "uclibc"
else:
libc_suffix = ""
bb.fatal("DISTRO requested EABI but selected machine does not support EABI")
abi_suffix = ""
else:
- abi_suffix = "gnueabi"
+ if libc_suffix is not "uclibc":
+ gnu_suffix = "gnu"
+ abi_suffix = "eabi"
elif bparch in ppc_spe_supporting_arches.split():
- abi_suffix = "gnuspe"
+ if libc_suffix is not "uclibc":
+ gnu_suffix = "gnu"
+ abi_suffix = "spe"
else:
abi_suffix = ""
else:
bb.note("DISTRO_FEATURES is not set abi suffix not set")
abi_suffix = ""
if libc_suffix is not "" or abi_suffix is not "":
- return os_suffix + "-" + libc_suffix + abi_suffix
+ return os_suffix + "-" + libc_suffix + gnu_suffix + abi_suffix
else:
return os_suffix