summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rwxr-xr-xpackage/gnuconfig/config.sub1
-rw-r--r--package/gnuconfig/patches/config.sub.nios.patch3
2 files changed, 1 insertions, 3 deletions
diff --git a/package/gnuconfig/config.sub b/package/gnuconfig/config.sub
index 260e28648..f04e6a18d 100755
--- a/package/gnuconfig/config.sub
+++ b/package/gnuconfig/config.sub
@@ -300,7 +300,6 @@ case $basic_machine in
;;
nios2 | nios2-* | nios2 | nios2-*)
basic_machine=nios2-altera
- os=-none
;;
# We use `pc' rather than `unknown'
diff --git a/package/gnuconfig/patches/config.sub.nios.patch b/package/gnuconfig/patches/config.sub.nios.patch
index d95491f91..b4e71c18e 100644
--- a/package/gnuconfig/patches/config.sub.nios.patch
+++ b/package/gnuconfig/patches/config.sub.nios.patch
@@ -5,13 +5,12 @@ retrieving revision 1.336
diff -u -p -r1.336 config.sub
--- config.sub 22 Dec 2005 23:50:21 -0000 1.336
+++ config.sub 30 Dec 2005 23:37:29 -0000
-@@ -298,6 +298,10 @@ case $basic_machine in
+@@ -298,6 +298,9 @@ case $basic_machine in
ms1)
basic_machine=mt-unknown
;;
+ nios2 | nios2-* | nios2 | nios2-*)
+ basic_machine=nios2-altera
-+ os=-none
+ ;;
# We use `pc' rather than `unknown'