mirror of
https://git.yoctoproject.org/poky
synced 2026-02-05 16:28:43 +01:00
autoconf: Add musl support
Support musl triplets (From OE-Core rev: d3609be6f3c59ef5d213d85b44dd1ac2058632bd) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
backport http://git.savannah.gnu.org/cgit/config.git/commit/config.sub?id=062587eaa891396c936555ae51f7e77eeb71a5fe
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
Upstream-Status: Backport
|
||||
Index: autoconf-2.69/build-aux/config.sub
|
||||
===================================================================
|
||||
--- autoconf-2.69.orig/build-aux/config.sub
|
||||
+++ autoconf-2.69/build-aux/config.sub
|
||||
@@ -123,7 +123,7 @@ esac
|
||||
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
|
||||
case $maybe_os in
|
||||
nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
|
||||
- linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
|
||||
+ linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
|
||||
knetbsd*-gnu* | netbsd*-gnu* | \
|
||||
kopensolaris*-gnu* | \
|
||||
storm-chaos* | os2-emx* | rtmk-nova*)
|
||||
@@ -1360,7 +1360,7 @@ case $os in
|
||||
| -chorusos* | -chorusrdb* | -cegcc* \
|
||||
| -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
|
||||
| -mingw32* | -linux-gnu* | -linux-android* \
|
||||
- | -linux-newlib* | -linux-uclibc* \
|
||||
+ | -linux-newlib* | -linux-musl* | -linux-uclibc* \
|
||||
| -uxpv* | -beos* | -mpeix* | -udk* \
|
||||
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
|
||||
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
|
||||
@@ -13,6 +13,7 @@ SRC_URI += "file://autoreconf-include.patch \
|
||||
file://remove-usr-local-lib-from-m4.patch \
|
||||
file://preferbash.patch \
|
||||
file://autotest-automake-result-format.patch \
|
||||
file://add_musl_config.patch \
|
||||
"
|
||||
|
||||
SRC_URI[md5sum] = "82d05e03b93e45f5a39b828dc9c6c29b"
|
||||
|
||||
Reference in New Issue
Block a user