diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-22 17:54:32 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-25 14:19:54 +0100 |
commit | f10a3457cdfbb4a94978da998d178d4254632fa7 (patch) | |
tree | 8bddbde48c3be73d945b59cacc5759010b484957 /meta/conf/distro/include | |
parent | 5f9d56bd64997b93ed7e46c117851002a0556654 (diff) | |
download | openembedded-core-f10a3457cdfbb4a94978da998d178d4254632fa7.tar.gz openembedded-core-f10a3457cdfbb4a94978da998d178d4254632fa7.tar.bz2 openembedded-core-f10a3457cdfbb4a94978da998d178d4254632fa7.tar.xz openembedded-core-f10a3457cdfbb4a94978da998d178d4254632fa7.zip |
Move architecture specific TARGET_OS mangling into tune files
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/distro/include')
-rw-r--r-- | meta/conf/distro/include/tclibc-eglibc.inc | 5 | ||||
-rw-r--r-- | meta/conf/distro/include/tclibc-glibc.inc | 5 | ||||
-rw-r--r-- | meta/conf/distro/include/tclibc-uclibc.inc | 5 |
3 files changed, 3 insertions, 12 deletions
diff --git a/meta/conf/distro/include/tclibc-eglibc.inc b/meta/conf/distro/include/tclibc-eglibc.inc index 9fab4dc67..8ef3cebb9 100644 --- a/meta/conf/distro/include/tclibc-eglibc.inc +++ b/meta/conf/distro/include/tclibc-eglibc.inc @@ -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" diff --git a/meta/conf/distro/include/tclibc-glibc.inc b/meta/conf/distro/include/tclibc-glibc.inc index 0370dfa82..823195c2a 100644 --- a/meta/conf/distro/include/tclibc-glibc.inc +++ b/meta/conf/distro/include/tclibc-glibc.inc @@ -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:" diff --git a/meta/conf/distro/include/tclibc-uclibc.inc b/meta/conf/distro/include/tclibc-uclibc.inc index 7c06654ba..e0f50a056 100644 --- a/meta/conf/distro/include/tclibc-uclibc.inc +++ b/meta/conf/distro/include/tclibc-uclibc.inc @@ -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:" |