mirror of
https://git.yoctoproject.org/poky
synced 2026-09-13 00:49:33 +02:00
Move architecture specific TARGET_OS mangling into tune files
(From OE-Core rev: f10a3457cdfbb4a94978da998d178d4254632fa7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -2,10 +2,7 @@
|
||||
# eglibc specific configuration
|
||||
#
|
||||
|
||||
TARGET_OS = "linux"
|
||||
TARGET_OS_arm = "linux-gnueabi"
|
||||
TARGET_OS_armeb = "linux-gnueabi"
|
||||
TARGET_OS_powerpc = "linux${@['','-gnuspe'][bb.data.getVar('TARGET_FPU',d,1) in ['ppc-efd', 'ppc-efs']]}"
|
||||
LIBCEXTENSION = "${@['', '-gnu'][(d.getVar('ABIEXTENSION', True) or '') != '']}"
|
||||
|
||||
# Add glibc overrides to the overrides for eglibc.
|
||||
OVERRIDES .= ":libc-glibc"
|
||||
|
||||
@@ -2,10 +2,7 @@
|
||||
# glibc specific configuration
|
||||
#
|
||||
|
||||
TARGET_OS = "linux"
|
||||
TARGET_OS_arm = "linux-gnueabi"
|
||||
TARGET_OS_armeb = "linux-gnueabi"
|
||||
TARGET_OS_powerpc = "linux${@['','-gnuspe'][bb.data.getVar('TARGET_FPU',d,1) in ['ppc-efd', 'ppc-efs']]}"
|
||||
LIBCEXTENSION = "${@['', '-gnu'][(d.getVar('ABIEXTENSION', True) or '') != '']}"
|
||||
|
||||
# Add glibc to the overrides.
|
||||
OVERRIDES =. "libc-glibc:"
|
||||
|
||||
@@ -2,10 +2,7 @@
|
||||
# uclibc specific configuration
|
||||
#
|
||||
|
||||
TARGET_OS = "linux-uclibc"
|
||||
TARGET_OS_arm = "linux-uclibceabi"
|
||||
TARGET_OS_armeb = "linux-uclibceabi"
|
||||
TARGET_OS_powerpc = "linux-uclibc${@['','spe'][bb.data.getVar('TARGET_FPU',d,1) in ['ppc-efd', 'ppc-efs']]}"
|
||||
LIBCEXTENSION = "-uclibc"
|
||||
|
||||
# Add uclibc overrides to the overrides.
|
||||
OVERRIDES =. "libc-uclibc:"
|
||||
|
||||
Reference in New Issue
Block a user