From 66f6696e757faf42aa42b680086fee57d38b139a Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Fri, 5 Oct 2007 11:00:41 +0000 Subject: [PATCH] - add pattern for gnuhurd-uclibc --- package/gnuconfig/config.sub | 2 ++ .../patches/config.sub.gnuhurd-uclibc.patch | 20 +++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 package/gnuconfig/patches/config.sub.gnuhurd-uclibc.patch diff --git a/package/gnuconfig/config.sub b/package/gnuconfig/config.sub index 63cdd0a35d..392e21fc20 100755 --- a/package/gnuconfig/config.sub +++ b/package/gnuconfig/config.sub @@ -121,6 +121,7 @@ esac maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ + gnu*-uclibc* | \ uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os @@ -1237,6 +1238,7 @@ case $os in | -chorusos* | -chorusrdb* \ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ + | -gnu*-uclibc* \ | -uxpv* | -beos* | -mpeix* | -udk* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ diff --git a/package/gnuconfig/patches/config.sub.gnuhurd-uclibc.patch b/package/gnuconfig/patches/config.sub.gnuhurd-uclibc.patch new file mode 100644 index 0000000000..6fcdf811f5 --- /dev/null +++ b/package/gnuconfig/patches/config.sub.gnuhurd-uclibc.patch @@ -0,0 +1,20 @@ +Index: config.sub +=================================================================== +--- config.sub (revision 20153) ++++ config.sub (working copy) +@@ -121,6 +121,7 @@ + maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` + case $maybe_os in + nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ ++ gnu*-uclibc* | \ + uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ + storm-chaos* | os2-emx* | rtmk-nova*) + os=-$maybe_os +@@ -1237,6 +1238,7 @@ + | -chorusos* | -chorusrdb* \ + | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ + | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ ++ | -gnu*-uclibc* \ + | -uxpv* | -beos* | -mpeix* | -udk* \ + | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ + | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ -- 2.30.2