summaryrefslogtreecommitdiff
path: root/package/gnuconfig/patches/config.sub.nios.patch
blob: b4e71c18e42e9963a57b1f1e5727ee071149c725 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Index: config.sub
===================================================================
RCS file: /cvsroot/config/config/config.sub,v
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,9 @@ case $basic_machine in
 	ms1)
 		basic_machine=mt-unknown
 		;;
+	nios2 | nios2-* | nios2 | nios2-*)
+		basic_machine=nios2-altera
+		;;
 
 	# We use `pc' rather than `unknown'
 	# because (1) that's what they normally are, and