summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gnu-config
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2014-05-29 00:01:06 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-06-01 14:29:29 +0100
commit32ed5994fe7b93cb154be94e0b1b59764278895f (patch)
tree34dadbae942ccdcd778414caeb0746e83d16640c /meta/recipes-devtools/gnu-config
parentd73709fb2d402e16a771711db0243ceeffdd181b (diff)
downloadpoky-32ed5994fe7b93cb154be94e0b1b59764278895f.tar.gz
gnu-config: Let it recognise *-*-musl* triplets
This will help autotools based packages to recognise musl (From OE-Core rev: a51f790bd657011d871aab603d1695937bfa2033) Signed-off-by: Khem Raj <raj.khem@gmail.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/musl-support.patch25
-rw-r--r--meta/recipes-devtools/gnu-config/gnu-config_20120814.bb1
2 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gnu-config/gnu-config/musl-support.patch b/meta/recipes-devtools/gnu-config/gnu-config/musl-support.patch
new file mode 100644
index 0000000000..3147435a6e
--- /dev/null
+++ b/meta/recipes-devtools/gnu-config/gnu-config/musl-support.patch
@@ -0,0 +1,25 @@
1support musl
2
3Upstream-Status: Pending
4Signed-off-by: Khem Raj <raj.khem@gmail.com>
5
6Index: gnu-config-20120814/config.sub
7===================================================================
8--- gnu-config-20120814.orig/config.sub 2012-09-18 02:27:45.000000000 -0700
9+++ gnu-config-20120814/config.sub 2014-03-26 00:34:19.955996709 -0700
10@@ -123,6 +123,7 @@
11 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
12 case $maybe_os in
13 nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
14+ linux-musl* | \
15 linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
16 knetbsd*-gnu* | netbsd*-gnu* | \
17 kopensolaris*-gnu* | \
18@@ -1365,6 +1366,7 @@
19 | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
20 | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
21 | -linux-newlib* | -linux-uclibc* \
22+ | -linux-musl* \
23 | -uxpv* | -beos* | -mpeix* | -udk* \
24 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
25 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
diff --git a/meta/recipes-devtools/gnu-config/gnu-config_20120814.bb b/meta/recipes-devtools/gnu-config/gnu-config_20120814.bb
index 44e1b5d49e..d67466ae79 100644
--- a/meta/recipes-devtools/gnu-config/gnu-config_20120814.bb
+++ b/meta/recipes-devtools/gnu-config/gnu-config_20120814.bb
@@ -11,6 +11,7 @@ INHIBIT_DEFAULT_DEPS = "1"
11 11
12SRC_URI = "http://downloads.yoctoproject.org/releases/gnu-config/gnu-config-${PV}.tar.bz2 \ 12SRC_URI = "http://downloads.yoctoproject.org/releases/gnu-config/gnu-config-${PV}.tar.bz2 \
13 file://config-guess-uclibc.patch \ 13 file://config-guess-uclibc.patch \
14 file://musl-support.patch \
14 file://gnu-configize.in" 15 file://gnu-configize.in"
15 16
16SRC_URI[md5sum] = "bcfca5a2bb39edad4aae5a65efc84094" 17SRC_URI[md5sum] = "bcfca5a2bb39edad4aae5a65efc84094"