summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gnu-config
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2012-10-08 18:23:19 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-10-18 12:13:39 +0100
commit27def855170c063959b005213cb2891886e8230d (patch)
tree70e5f33caab75ff6bd911a6b1c352e50449b5b05 /meta/recipes-devtools/gnu-config
parent5ba60ce64cd947fe82fe599f3034f796acc088c5 (diff)
downloadpoky-27def855170c063959b005213cb2891886e8230d.tar.gz
gnu-config: update to 2012.08.14 to get support for AArch64 architecture
(From OE-Core rev: fd082d328f1312847097794dea588ed670206cb4) Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gnu-config')
-rw-r--r--meta/recipes-devtools/gnu-config/gnu-config/config-guess-uclibc.patch47
-rw-r--r--meta/recipes-devtools/gnu-config/gnu-config_20120814.bb (renamed from meta/recipes-devtools/gnu-config/gnu-config_20111111.bb)10
2 files changed, 31 insertions, 26 deletions
diff --git a/meta/recipes-devtools/gnu-config/gnu-config/config-guess-uclibc.patch b/meta/recipes-devtools/gnu-config/gnu-config/config-guess-uclibc.patch
index dc15d91471..2094116f0d 100644
--- a/meta/recipes-devtools/gnu-config/gnu-config/config-guess-uclibc.patch
+++ b/meta/recipes-devtools/gnu-config/gnu-config/config-guess-uclibc.patch
@@ -5,13 +5,18 @@ Patch courtesy gentoo-portage/sys-devel/gnuconfig/files/automake-1.8.5-config-gu
5updated to 20050516 by Marcin 'Hrw' Juszkiewicz (by hand) 5updated to 20050516 by Marcin 'Hrw' Juszkiewicz (by hand)
6updated to 20080123 by Nitin A Kamble (by hand) 6updated to 20080123 by Nitin A Kamble (by hand)
7updated to 20111001 by Saul Wold (by hand) 7updated to 20111001 by Saul Wold (by hand)
8updated to 20120818 by Marcin 'Hrw' Juszkiewicz (by hand)
9
8Signed-off-by: Saul Wold <sgw@linux.intel.com> 10Signed-off-by: Saul Wold <sgw@linux.intel.com>
11Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
12
13---
14 config.guess | 67 +++++++++++++++++++++++++++++++++++------------------------
15 1 file changed, 40 insertions(+), 27 deletions(-)
9 16
10Index: git/config.guess 17--- git.orig/config.guess
11=================================================================== 18+++ git/config.guess
12--- git.orig/config.guess 2011-10-20 15:15:25.000000000 -0700 19@@ -138,6 +138,19 @@ UNAME_RELEASE=`(uname -r) 2>/dev/null` |
13+++ git/config.guess 2011-10-20 16:56:43.810830229 -0700
14@@ -140,6 +140,19 @@
15 UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown 20 UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
16 UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown 21 UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
17 22
@@ -31,7 +36,7 @@ Index: git/config.guess
31 # Note: order is significant - the case branches are not exclusive. 36 # Note: order is significant - the case branches are not exclusive.
32 37
33 case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in 38 case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
34@@ -871,15 +884,15 @@ 39@@ -886,15 +899,15 @@ EOF
35 EV68*) UNAME_MACHINE=alphaev68 ;; 40 EV68*) UNAME_MACHINE=alphaev68 ;;
36 esac 41 esac
37 objdump --private-headers /bin/sh | grep -q ld.so.1 42 objdump --private-headers /bin/sh | grep -q ld.so.1
@@ -50,7 +55,7 @@ Index: git/config.guess
50 else 55 else
51 if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ 56 if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
52 | grep -q __ARM_PCS_VFP 57 | grep -q __ARM_PCS_VFP
53@@ -891,19 +904,19 @@ 58@@ -906,19 +919,19 @@ EOF
54 fi 59 fi
55 exit ;; 60 exit ;;
56 avr32*:Linux:*:*) 61 avr32*:Linux:*:*)
@@ -58,24 +63,24 @@ Index: git/config.guess
58+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 63+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
59 exit ;; 64 exit ;;
60 cris:Linux:*:*) 65 cris:Linux:*:*)
61- echo cris-axis-linux-gnu 66- echo ${UNAME_MACHINE}-axis-linux-gnu
62+ echo cris-axis-linux-${LIBC} 67+ echo ${UNAME_MACHINE}-axis-linux-${LIBC}
63 exit ;; 68 exit ;;
64 crisv32:Linux:*:*) 69 crisv32:Linux:*:*)
65- echo crisv32-axis-linux-gnu 70- echo ${UNAME_MACHINE}-axis-linux-gnu
66+ echo crisv32-axis-linux-${LIBC} 71+ echo ${UNAME_MACHINE}-axis-linux-${LIBC}
67 exit ;; 72 exit ;;
68 frv:Linux:*:*) 73 frv:Linux:*:*)
69- echo frv-unknown-linux-gnu 74- echo ${UNAME_MACHINE}-unknown-linux-gnu
70+ echo frv-unknown-linux-${LIBC} 75+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
71 exit ;; 76 exit ;;
72 hexagon:Linux:*:*) 77 hexagon:Linux:*:*)
73- echo hexagon-unknown-linux-gnu 78- echo ${UNAME_MACHINE}-unknown-linux-gnu
74+ echo hexagon-unknown-linux-${LIBC} 79+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
75 exit ;; 80 exit ;;
76 i*86:Linux:*:*) 81 i*86:Linux:*:*)
77 LIBC=gnu 82 LIBC=gnu
78@@ -917,13 +930,13 @@ 83@@ -932,13 +945,13 @@ EOF
79 echo "${UNAME_MACHINE}-pc-linux-${LIBC}" 84 echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
80 exit ;; 85 exit ;;
81 ia64:Linux:*:*) 86 ia64:Linux:*:*)
@@ -92,7 +97,7 @@ Index: git/config.guess
92 exit ;; 97 exit ;;
93 mips:Linux:*:* | mips64:Linux:*:*) 98 mips:Linux:*:* | mips64:Linux:*:*)
94 eval $set_cc_for_build 99 eval $set_cc_for_build
95@@ -942,54 +955,54 @@ 100@@ -957,54 +970,54 @@ EOF
96 #endif 101 #endif
97 EOF 102 EOF
98 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` 103 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
@@ -100,8 +105,8 @@ Index: git/config.guess
100+ test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; } 105+ test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
101 ;; 106 ;;
102 or32:Linux:*:*) 107 or32:Linux:*:*)
103- echo or32-unknown-linux-gnu 108- echo ${UNAME_MACHINE}-unknown-linux-gnu
104+ echo or32-unknown-linux-${LIBC} 109+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
105 exit ;; 110 exit ;;
106 padre:Linux:*:*) 111 padre:Linux:*:*)
107- echo sparc-unknown-linux-gnu 112- echo sparc-unknown-linux-gnu
@@ -154,8 +159,8 @@ Index: git/config.guess
154+ echo ${UNAME_MACHINE}-dec-linux-${LIBC} 159+ echo ${UNAME_MACHINE}-dec-linux-${LIBC}
155 exit ;; 160 exit ;;
156 x86_64:Linux:*:*) 161 x86_64:Linux:*:*)
157- echo x86_64-unknown-linux-gnu 162- echo ${UNAME_MACHINE}-unknown-linux-gnu
158+ echo x86_64-unknown-linux-${LIBC} 163+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
159 exit ;; 164 exit ;;
160 xtensa*:Linux:*:*) 165 xtensa*:Linux:*:*)
161- echo ${UNAME_MACHINE}-unknown-linux-gnu 166- echo ${UNAME_MACHINE}-unknown-linux-gnu
diff --git a/meta/recipes-devtools/gnu-config/gnu-config_20111111.bb b/meta/recipes-devtools/gnu-config/gnu-config_20120814.bb
index f7313609a9..dd9248f2eb 100644
--- a/meta/recipes-devtools/gnu-config/gnu-config_20111111.bb
+++ b/meta/recipes-devtools/gnu-config/gnu-config_20120814.bb
@@ -2,20 +2,20 @@ SUMMARY = "gnu-configize"
2DESCRIPTION = "Tool that installs the GNU config.guess / config.sub into a directory tree" 2DESCRIPTION = "Tool that installs the GNU config.guess / config.sub into a directory tree"
3SECTION = "devel" 3SECTION = "devel"
4LICENSE = "GPLv2" 4LICENSE = "GPLv2"
5LIC_FILES_CHKSUM = "file://config.guess;endline=39;md5=a3669d051b3a8408d69751e53b2e1cc1" 5LIC_FILES_CHKSUM = "file://config.guess;endline=39;md5=b79a4663475f4d724846463277817e0d"
6 6
7DEPENDS_virtclass-native = "perl-native-runtime" 7DEPENDS_virtclass-native = "perl-native-runtime"
8 8
9INHIBIT_DEFAULT_DEPS = "1" 9INHIBIT_DEFAULT_DEPS = "1"
10 10
11PR = "r1" 11PR = "r0"
12 12
13SRC_URI = "http://downloads.yoctoproject.org/releases/gnu-config/gnu-config-yocto-${PV}.tgz \ 13SRC_URI = "http://downloads.yoctoproject.org/releases/gnu-config/gnu-config-${PV}.tar.bz2 \
14 file://config-guess-uclibc.patch \ 14 file://config-guess-uclibc.patch \
15 file://gnu-configize.in" 15 file://gnu-configize.in"
16 16
17SRC_URI[md5sum] = "30be385c919a25cd9522205ef49e5328" 17SRC_URI[md5sum] = "bcfca5a2bb39edad4aae5a65efc84094"
18SRC_URI[sha256sum] = "0750afa8d8ee988b6ead1c2d02b565597f809e2e3ad14886ed7803d3bbc8b0cd" 18SRC_URI[sha256sum] = "44f99a8e76f3e8e4fec0bb5ad4762f8e44366168554ce66cb85afbe2ed3efd8b"
19 19
20do_compile() { 20do_compile() {
21 : 21 :