summaryrefslogtreecommitdiff
path: root/package/gnuconfig
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-10-05 11:00:41 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-10-05 11:00:41 +0000
commit66f6696e757faf42aa42b680086fee57d38b139a (patch)
tree2eda64760d85c42258818602c892c885235d9e26 /package/gnuconfig
parent05195c3d000f080bc3103850158387578f7c2242 (diff)
- add pattern for gnuhurd-uclibc
Diffstat (limited to 'package/gnuconfig')
-rwxr-xr-xpackage/gnuconfig/config.sub2
-rw-r--r--package/gnuconfig/patches/config.sub.gnuhurd-uclibc.patch20
2 files changed, 22 insertions, 0 deletions
diff --git a/package/gnuconfig/config.sub b/package/gnuconfig/config.sub
index 63cdd0a35..392e21fc2 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 000000000..6fcdf811f
--- /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* \