aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/grub2
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-11-23 20:01:53 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-11-23 20:01:53 +0000
commit3d41c1d1268d59038e747a01411b6d60c10028aa (patch)
treeb4f5e1351ca3deb4332b58c37ca1efdcdfaee2ba /package/boot/grub2
parentf7ba5782690036ad75006fa37b9d8eda4534672d (diff)
downloadmaster-187ad058-3d41c1d1268d59038e747a01411b6d60c10028aa.tar.gz
master-187ad058-3d41c1d1268d59038e747a01411b6d60c10028aa.tar.bz2
master-187ad058-3d41c1d1268d59038e747a01411b6d60c10028aa.zip
[package] grub2: accept the linux-musl* tuple
Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34306 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/boot/grub2')
-rw-r--r--package/boot/grub2/patches/200-grub_musl.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/boot/grub2/patches/200-grub_musl.patch b/package/boot/grub2/patches/200-grub_musl.patch
new file mode 100644
index 0000000000..b1ff63af1f
--- /dev/null
+++ b/package/boot/grub2/patches/200-grub_musl.patch
@@ -0,0 +1,22 @@
+diff -urN grub-2.00/build-aux/config.sub grub-2.00.new/build-aux/config.sub
+--- grub-2.00/build-aux/config.sub 2012-06-18 23:08:46.000000000 +0200
++++ grub-2.00.new/build-aux/config.sub 2012-11-22 14:12:12.190748353 +0100
+@@ -126,7 +126,8 @@
+ linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
+ knetbsd*-gnu* | netbsd*-gnu* | \
+ kopensolaris*-gnu* | \
+- storm-chaos* | os2-emx* | rtmk-nova*)
++ storm-chaos* | os2-emx* | rtmk-nova* | \
++ linux-musl*)
+ os=-$maybe_os
+ basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
+ ;;
+@@ -1360,7 +1361,7 @@
+ | -chorusos* | -chorusrdb* | -cegcc* \
+ | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
+ | -mingw32* | -linux-gnu* | -linux-android* \
+- | -linux-newlib* | -linux-uclibc* \
++ | -linux-newlib* | -linux-uclibc* | -linux-musl* \
+ | -uxpv* | -beos* | -mpeix* | -udk* \
+ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
+ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \