summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2015-11-18 23:23:03 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-12 23:42:54 +0000
commit1ee97d844f41fcc4abdbca4fe61ba494d41b333c (patch)
tree09b2ecede680c0af5fb46050467ae792ba0c94c1 /meta
parenta2ea58bbd7a4cea9670b0a409df3a498ac2395fa (diff)
downloadpoky-1ee97d844f41fcc4abdbca4fe61ba494d41b333c.tar.gz
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>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/autoconf/autoconf/add_musl_config.patch26
-rw-r--r--meta/recipes-devtools/autoconf/autoconf_2.69.bb1
2 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-devtools/autoconf/autoconf/add_musl_config.patch b/meta/recipes-devtools/autoconf/autoconf/add_musl_config.patch
new file mode 100644
index 0000000000..a9094d2128
--- /dev/null
+++ b/meta/recipes-devtools/autoconf/autoconf/add_musl_config.patch
@@ -0,0 +1,26 @@
1backport http://git.savannah.gnu.org/cgit/config.git/commit/config.sub?id=062587eaa891396c936555ae51f7e77eeb71a5fe
2
3Signed-off-by: Khem Raj <raj.khem@gmail.com>
4Upstream-Status: Backport
5Index: autoconf-2.69/build-aux/config.sub
6===================================================================
7--- autoconf-2.69.orig/build-aux/config.sub
8+++ autoconf-2.69/build-aux/config.sub
9@@ -123,7 +123,7 @@ esac
10 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
11 case $maybe_os in
12 nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
13- linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
14+ linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
15 knetbsd*-gnu* | netbsd*-gnu* | \
16 kopensolaris*-gnu* | \
17 storm-chaos* | os2-emx* | rtmk-nova*)
18@@ -1360,7 +1360,7 @@ case $os in
19 | -chorusos* | -chorusrdb* | -cegcc* \
20 | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
21 | -mingw32* | -linux-gnu* | -linux-android* \
22- | -linux-newlib* | -linux-uclibc* \
23+ | -linux-newlib* | -linux-musl* | -linux-uclibc* \
24 | -uxpv* | -beos* | -mpeix* | -udk* \
25 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
26 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
diff --git a/meta/recipes-devtools/autoconf/autoconf_2.69.bb b/meta/recipes-devtools/autoconf/autoconf_2.69.bb
index 809007f35d..b9f6883c39 100644
--- a/meta/recipes-devtools/autoconf/autoconf_2.69.bb
+++ b/meta/recipes-devtools/autoconf/autoconf_2.69.bb
@@ -13,6 +13,7 @@ SRC_URI += "file://autoreconf-include.patch \
13 file://remove-usr-local-lib-from-m4.patch \ 13 file://remove-usr-local-lib-from-m4.patch \
14 file://preferbash.patch \ 14 file://preferbash.patch \
15 file://autotest-automake-result-format.patch \ 15 file://autotest-automake-result-format.patch \
16 file://add_musl_config.patch \
16 " 17 "
17 18
18SRC_URI[md5sum] = "82d05e03b93e45f5a39b828dc9c6c29b" 19SRC_URI[md5sum] = "82d05e03b93e45f5a39b828dc9c6c29b"