diff options
author | Khem Raj <raj.khem@gmail.com> | 2014-05-29 00:01:06 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-05-30 16:31:22 +0100 |
commit | a51f790bd657011d871aab603d1695937bfa2033 (patch) | |
tree | 19048e0c3f60281d61b3d2d41fdd633633c7f320 /meta/recipes-devtools/gnu-config | |
parent | 66fd622058f690dbb291a648ec1583191bf44df5 (diff) | |
download | openembedded-core-a51f790bd657011d871aab603d1695937bfa2033.tar.gz openembedded-core-a51f790bd657011d871aab603d1695937bfa2033.tar.bz2 openembedded-core-a51f790bd657011d871aab603d1695937bfa2033.zip |
gnu-config: Let it recognise *-*-musl* triplets
This will help autotools based packages to recognise
musl
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.patch | 25 | ||||
-rw-r--r-- | meta/recipes-devtools/gnu-config/gnu-config_20120814.bb | 1 |
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 @@ +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* \ 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" 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" |