mirror of
https://git.yoctoproject.org/poky
synced 2026-02-15 05:03:03 +01:00
tclibc-*libc: Utilize TARGET_FPU for gnuspe setting
Its possible that BASE_PACKAGE_ARCH isn't set to ppce500 or ppce500v2 when we build native toolchains. So we can utilize TARGET_FPU being set to 'ppc-efd' or 'ppc-efs' to determine if we should enable the gnuspe ABI. (From OE-Core rev: 1a9ae8ea8c0540d41b8ff4d95c0420d6df754634) Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
e10a1d6cd3
commit
cc8a2a0ff3
@@ -5,7 +5,7 @@
|
||||
TARGET_OS = "linux"
|
||||
TARGET_OS_arm = "linux-gnueabi"
|
||||
TARGET_OS_armeb = "linux-gnueabi"
|
||||
TARGET_OS_powerpc = "linux${@['','-gnuspe'][bb.data.getVar('BASE_PACKAGE_ARCH',d,1) in ['ppce500', 'ppce500v2']]}"
|
||||
TARGET_OS_powerpc = "linux${@['','-gnuspe'][bb.data.getVar('TARGET_FPU',d,1) in ['ppc-efd', 'ppc-efs']]}"
|
||||
|
||||
# Add glibc overrides to the overrides for eglibc.
|
||||
OVERRIDES .= ":libc-glibc"
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
TARGET_OS = "linux"
|
||||
TARGET_OS_arm = "linux-gnueabi"
|
||||
TARGET_OS_armeb = "linux-gnueabi"
|
||||
TARGET_OS_powerpc = "linux${@['','-gnuspe'][bb.data.getVar('BASE_PACKAGE_ARCH',d,1) in ['ppce500', 'ppce500v2']]}"
|
||||
TARGET_OS_powerpc = "linux${@['','-gnuspe'][bb.data.getVar('TARGET_FPU',d,1) in ['ppc-efd', 'ppc-efs']]}"
|
||||
|
||||
# Add glibc to the overrides.
|
||||
OVERRIDES =. "libc-glibc:"
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
TARGET_OS = "linux-uclibc"
|
||||
TARGET_OS_arm = "linux-uclibceabi"
|
||||
TARGET_OS_armeb = "linux-uclibceabi"
|
||||
TARGET_OS_powerpc = "linux${@['','-gnuspe'][bb.data.getVar('TARGET_FPU',d,1) in ['ppc-efd', 'ppc-efs']]}"
|
||||
|
||||
# Add uclibc overrides to the overrides.
|
||||
OVERRIDES =. "libc-uclibc:"
|
||||
|
||||
Reference in New Issue
Block a user