aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--classes/insane.bbclass4
-rw-r--r--classes/siteinfo.bbclass39
-rw-r--r--conf/distro/include/angstrom-eglibc.inc4
-rw-r--r--conf/distro/include/angstrom-glibc.inc2
-rw-r--r--conf/distro/include/sane-toolchain.inc13
-rw-r--r--recipes/lsof/lsof_4.78.bb3
-rw-r--r--recipes/openssl/openssl.inc4
-rw-r--r--site/arm-linux (renamed from site/arm-linux-gnu)0
-rw-r--r--site/armeb-linux (renamed from site/armeb-linux-gnu)0
-rw-r--r--site/mips-linux (renamed from site/mips-linux-gnu)0
-rw-r--r--site/mipsel-linux (renamed from site/mipsel-linux-gnu)0
-rw-r--r--site/powerpc-linux (renamed from site/powerpc-linux-gnu)0
-rw-r--r--site/sparc-linux (renamed from site/sparc-linux-gnu)0
-rw-r--r--site/x86_64-linux (renamed from site/x86_64-linux-gnu)0
14 files changed, 34 insertions, 35 deletions
diff --git a/classes/insane.bbclass b/classes/insane.bbclass
index a6e4b6dce8..0dacaf8850 100644
--- a/classes/insane.bbclass
+++ b/classes/insane.bbclass
@@ -34,7 +34,7 @@ def package_qa_get_machine_dict():
"darwin9" : {
"arm" : (40, 0, 0, True, True),
},
- "linux-gnu" : {
+ "linux" : {
"arm" : (40, 97, 0, True, True),
"armeb": (40, 97, 0, False, True),
"powerpc": (20, 0, 0, False, True),
@@ -77,7 +77,7 @@ def package_qa_get_machine_dict():
"arm" : (40, 0, 0, True, True),
"armeb" : (40, 0, 0, False, True),
},
- "linux-gnuspe" : {
+ "linux-spe" : {
"powerpc": (20, 0, 0, False, True),
},
"linux-uclibcspe" : {
diff --git a/classes/siteinfo.bbclass b/classes/siteinfo.bbclass
index c3e155bc18..c89014abae 100644
--- a/classes/siteinfo.bbclass
+++ b/classes/siteinfo.bbclass
@@ -22,23 +22,21 @@ def get_siteinfo_list(d):
targetinfo = {\
"armeb-linux": "endian-big bit-32 common-linux common-glibc arm-common",\
- "armeb-linux-gnu": "endian-big bit-32 common-linux common-glibc arm-common",\
- "armeb-linux-gnueabi": "endian-big bit-32 common-linux common-glibc arm-common armeb-linux-gnu",\
+ "armeb-linux-gnueabi": "endian-big bit-32 common-linux common-glibc arm-common armeb-linux",\
"armeb-linux-uclibc": "endian-big bit-32 common-linux common-uclibc arm-common",\
"armeb-linux-uclibceabi": "endian-big bit-32 common-linux common-uclibc arm-common armeb-linux-uclibc",\
"arm-darwin": "endian-little bit-32 common-darwin",\
"arm-darwin9": "endian-little bit-32 common-darwin",\
- "arm-linux-gnu": "endian-little bit-32 common-linux common-glibc arm-common",\
- "arm-linux-gnueabi": "endian-little bit-32 common-linux common-glibc arm-common arm-linux-gnu",\
+ "arm-linux": "endian-little bit-32 common-linux common-glibc arm-common",\
+ "arm-linux-gnueabi": "endian-little bit-32 common-linux common-glibc arm-common arm-linux",\
"arm-linux-uclibc": "endian-little bit-32 common-linux common-uclibc arm-common",\
"arm-linux-uclibceabi": "endian-little bit-32 common-linux common-uclibc arm-common arm-linux-uclibc",\
"avr32-linux-uclibc": "endian-big bit-32 common-linux common-uclibc avr32-common",\
"bfin-uclinux-uclibc": "endian-little bit-32 common-uclibc bfin-common",\
- "i386-linux-gnu": "endian-little bit-32 common-linux common-glibc ix86-common",\
- "i486-linux-gnu": "endian-little bit-32 common-linux common-glibc ix86-common",\
- "i586-linux-gnu": "endian-little bit-32 common-linux common-glibc ix86-common",\
- "i686-linux-gnu": "endian-little bit-32 common-linux common-glibc ix86-common",\
- "i686-linux": "endian-little bit-32 common-linux common-glibc ix86-common i686-linux-gnu",\
+ "i386-linux": "endian-little bit-32 common-linux common-glibc ix86-common",\
+ "i486-linux": "endian-little bit-32 common-linux common-glibc ix86-common",\
+ "i586-linux": "endian-little bit-32 common-linux common-glibc ix86-common",\
+ "i686-linux": "endian-little bit-32 common-linux common-glibc ix86-common",\
"i386-linux-uclibc": "endian-little bit-32 common-linux common-uclibc ix86-common",\
"i486-linux-uclibc": "endian-little bit-32 common-linux common-uclibc ix86-common",\
"i586-linux-uclibc": "endian-little bit-32 common-linux common-uclibc ix86-common",\
@@ -51,24 +49,23 @@ def get_siteinfo_list(d):
"i486-mingw32": "endian-little bit-32 common-mingw ix86-common",\
"i586-mingw32": "endian-little bit-32 common-mingw ix86-common",\
"i686-mingw32": "endian-little bit-32 common-mingw ix86-common",\
- "ia64-linux-gnu": "endian-little bit-64 common-linux common-glibc",\
- "mipsel-linux-gnu": "endian-little bit-32 common-linux common-glibc mips-common",\
+ "ia64-linux": "endian-little bit-64 common-linux common-glibc",\
+ "mipsel-linux": "endian-little bit-32 common-linux common-glibc mips-common",\
"mipsel-linux-uclibc": "endian-little bit-32 common-linux common-uclibc mips-common",\
- "mips-linux-gnu": "endian-big bit-32 common-linux common-glibc mips-common",\
+ "mips-linux": "endian-big bit-32 common-linux common-glibc mips-common",\
"mips-linux-uclibc": "endian-big bit-32 common-linux common-uclibc mips-common",\
"powerpc-darwin": "endian-big bit-32 common-darwin",\
- "ppc-linux-gnu": "endian-big bit-32 common-linux common-glibc powerpc-common powerpc-linux-gnu",\
- "ppc64-linux-gnu": "endian-big bit-64 common-linux common-glibc powerpc-common powerpc64-linux-gnu",\
- "powerpc-linux-gnu": "endian-big bit-32 common-linux common-glibc powerpc-common",\
- "powerpc-linux-gnuspe": "endian-big bit-32 common-linux common-glibc powerpc-common powerpc-linux-gnu",\
+ "ppc-linux": "endian-big bit-32 common-linux common-glibc powerpc-common powerpc-linux",\
+ "ppc64-linux": "endian-big bit-64 common-linux common-glibc powerpc-common powerpc64-linux",\
+ "powerpc-linux": "endian-big bit-32 common-linux common-glibc powerpc-common",\
+ "powerpc-linux-spe": "endian-big bit-32 common-linux common-glibc powerpc-common powerpc-linux",\
"powerpc-linux-uclibc": "endian-big bit-32 common-linux common-uclibc powerpc-common",\
"powerpc-linux-uclibcspe": "endian-big bit-32 common-linux common-uclibc powerpc-common powerpc-linux-uclibc",\
- "sh3-linux-gnu": "endian-little bit-32 common-linux common-glibc sh-common",\
- "sh4-linux-gnu": "endian-little bit-32 common-linux common-glibc sh-common",\
+ "sh3-linux": "endian-little bit-32 common-linux common-glibc sh-common",\
+ "sh4-linux": "endian-little bit-32 common-linux common-glibc sh-common",\
"sh4-linux-uclibc": "endian-little bit-32 common-linux common-uclibc sh-common",\
- "sparc-linux-gnu": "endian-big bit-32 common-linux common-glibc",\
- "viac3-linux-gnu": "endian-little bit-32 common-linux common-glibc ix86-common",\
- "x86_64-linux-gnu": "endian-little bit-64 common-linux common-glibc",\
+ "sparc-linux": "endian-big bit-32 common-linux common-glibc",\
+ "viac3-linux": "endian-little bit-32 common-linux common-glibc ix86-common",\
"x86_64-linux": "endian-little bit-64 common-linux common-glibc",\
"x86_64-linux-uclibc": "endian-little bit-64 common-linux common-uclibc"}
if target in targetinfo:
diff --git a/conf/distro/include/angstrom-eglibc.inc b/conf/distro/include/angstrom-eglibc.inc
index ab3606dcca..47147a1d85 100644
--- a/conf/distro/include/angstrom-eglibc.inc
+++ b/conf/distro/include/angstrom-eglibc.inc
@@ -1,12 +1,12 @@
# eglibc:
require conf/distro/include/eglibc.inc
-TARGET_OS = "linux-gnu"
+TARGET_OS = "linux"
TARGET_OS .= "${@['','eabi'][bb.data.getVar('TARGET_ARCH',d,1) in ['arm', 'armeb'] and bb.data.getVar('MACHINE',d) not in ['collie','h3600', 'h3800', 'simpad', 'htcwallaby']]}"
TARGET_OS .= "${@['','spe'][bb.data.getVar('TARGET_ARCH',d,1) in ['ppc', 'powerpc'] and bb.data.getVar('MACHINE',d) in ['calamari']]}"
-#TARGET_OS = "linux-gnuspe"
+#TARGET_OS = "linux-spe"
#mess with compiler flags to use -Os instead of -O2
#Please see http://free-electrons.com/doc/embedded_linux_optimizations/img47.html for some more info
diff --git a/conf/distro/include/angstrom-glibc.inc b/conf/distro/include/angstrom-glibc.inc
index 544ee4a013..28c31e35b0 100644
--- a/conf/distro/include/angstrom-glibc.inc
+++ b/conf/distro/include/angstrom-glibc.inc
@@ -3,7 +3,7 @@ require conf/distro/include/glibc.inc
PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers"
-TARGET_OS = "linux-gnu"
+TARGET_OS = "linux"
TARGET_OS .= "${@['','eabi'][bb.data.getVar('TARGET_ARCH',d,1) in ['arm', 'armeb'] and bb.data.getVar('MACHINE',d) not in ['collie','h3600', 'h3800', 'simpad', 'htcwallaby']]}"
#mess with compiler flags to use -Os instead of -O2
diff --git a/conf/distro/include/sane-toolchain.inc b/conf/distro/include/sane-toolchain.inc
index 9351187fe1..561c97aeec 100644
--- a/conf/distro/include/sane-toolchain.inc
+++ b/conf/distro/include/sane-toolchain.inc
@@ -157,16 +157,16 @@ def detect_arm_abi (d):
def compute_os_portion_of_target_triplet (d):
import bb
arm_eabi_supporting_arches = "armv6 armv6-novfp \
- armv5te iwmmxt armv7a armv7 armv6 armv5teb armv4t"
+ armv5te iwmmxt armv7a armv7 armv5teb armv4t"
ppc_spe_supporting_arches = "ppce500v2 ppce500"
if bb.data.getVar("LIBC", d, 1) == "uclibc":
libc_suffix = "uclibc"
else:
- libc_suffix = "gnu"
+ libc_suffix = ""
if bb.data.getVar('TARGET_ARCH',d,1) in ['bfin']:
- if libc_suffix == "gnu":
+ if libc_suffix is not "uclibc":
bb.fatal("bfin is not supported on glibc/eglibc. Please choose uclibc")
else:
os_suffix = "uclinux"
@@ -182,7 +182,7 @@ def compute_os_portion_of_target_triplet (d):
bb.fatal("DISTRO requested EABI but selected machine does not support EABI")
abi_suffix = ""
else:
- abi_suffix = "eabi"
+ abi_suffix = "gnueabi"
elif bparch in ppc_spe_supporting_arches.split():
abi_suffix = "spe"
else:
@@ -190,7 +190,10 @@ def compute_os_portion_of_target_triplet (d):
else:
bb.note("DISTRO_FEATURES is not set abi suffix not set")
abi_suffix = ""
- return os_suffix + "-" + libc_suffix + abi_suffix
+ if libc_suffix is not "" or abi_suffix is not "":
+ return os_suffix + "-" + libc_suffix + abi_suffix
+ else:
+ return os_suffix
# This is needed to get a correct PACKAGE_ARCH for packages that have PACKAGE_ARCH = ${MACHINE_ARCH}
ARM_ABI = "${@detect_arm_abi(d)}"
diff --git a/recipes/lsof/lsof_4.78.bb b/recipes/lsof/lsof_4.78.bb
index 1bb540e422..243b5daca7 100644
--- a/recipes/lsof/lsof_4.78.bb
+++ b/recipes/lsof/lsof_4.78.bb
@@ -21,9 +21,8 @@ export LSOF_OS = "${TARGET_OS}"
LSOF_OS_linux-uclibc = "linux"
LSOF_OS_linux-uclibceabi = "linux"
LSOF_OS_linux-uclibspe = "linux"
-LSOF_OS_linux-gnu = "linux"
LSOF_OS_linux-gnueabi = "linux"
-LSOF_OS_linux-gnuspe = "linux"
+LSOF_OS_linux-spe = "linux"
export LSOF_INCLUDE = "${STAGING_INCDIR}"
do_configure () {
diff --git a/recipes/openssl/openssl.inc b/recipes/openssl/openssl.inc
index 4c6e43543b..8b8e870eff 100644
--- a/recipes/openssl/openssl.inc
+++ b/recipes/openssl/openssl.inc
@@ -35,7 +35,7 @@ do_configure () {
os=linux
elif [ "x$os" = "xlinux-uclibceabi" ]; then
os=linux
- elif [ "x$os" = "xlinux-gnu" ]; then
+ elif [ "x$os" = "xlinux-gnueabi" ]; then
os=linux
fi
target="$os-${HOST_ARCH}"
@@ -70,7 +70,7 @@ do_configure () {
linux-powerpc)
target=linux-ppc
;;
- linux-gnuspe-powerpc)
+ linux-spe-powerpc)
target=linux-ppc
;;
linux-supersparc)
diff --git a/site/arm-linux-gnu b/site/arm-linux
index 18dfb38d14..18dfb38d14 100644
--- a/site/arm-linux-gnu
+++ b/site/arm-linux
diff --git a/site/armeb-linux-gnu b/site/armeb-linux
index d8da123230..d8da123230 100644
--- a/site/armeb-linux-gnu
+++ b/site/armeb-linux
diff --git a/site/mips-linux-gnu b/site/mips-linux
index 43f4aef0f7..43f4aef0f7 100644
--- a/site/mips-linux-gnu
+++ b/site/mips-linux
diff --git a/site/mipsel-linux-gnu b/site/mipsel-linux
index bf82d4ea6e..bf82d4ea6e 100644
--- a/site/mipsel-linux-gnu
+++ b/site/mipsel-linux
diff --git a/site/powerpc-linux-gnu b/site/powerpc-linux
index bea14d5a75..bea14d5a75 100644
--- a/site/powerpc-linux-gnu
+++ b/site/powerpc-linux
diff --git a/site/sparc-linux-gnu b/site/sparc-linux
index ea6386b609..ea6386b609 100644
--- a/site/sparc-linux-gnu
+++ b/site/sparc-linux
diff --git a/site/x86_64-linux-gnu b/site/x86_64-linux
index 9180cd6e7c..9180cd6e7c 100644
--- a/site/x86_64-linux-gnu
+++ b/site/x86_64-linux