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>
This commit is contained in:
Khem Raj 2014-05-29 00:01:06 -07:00 committed by Richard Purdie
parent d73709fb2d
commit 32ed5994fe
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,25 @@
support musl
Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Index: gnu-config-20120814/config.sub
===================================================================
--- gnu-config-20120814.orig/config.sub 2012-09-18 02:27:45.000000000 -0700
+++ gnu-config-20120814/config.sub 2014-03-26 00:34:19.955996709 -0700
@@ -123,6 +123,7 @@
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
case $maybe_os in
nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
+ linux-musl* | \
linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
knetbsd*-gnu* | netbsd*-gnu* | \
kopensolaris*-gnu* | \
@@ -1365,6 +1366,7 @@
| -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
| -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
| -linux-newlib* | -linux-uclibc* \
+ | -linux-musl* \
| -uxpv* | -beos* | -mpeix* | -udk* \
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \

View File

@ -11,6 +11,7 @@ INHIBIT_DEFAULT_DEPS = "1"
SRC_URI = "http://downloads.yoctoproject.org/releases/gnu-config/gnu-config-${PV}.tar.bz2 \
file://config-guess-uclibc.patch \
file://musl-support.patch \
file://gnu-configize.in"
SRC_URI[md5sum] = "bcfca5a2bb39edad4aae5a65efc84094"