CVSROOT: /home/cvs
Module name: linux
Changes by: ths@ftp.linux-mips.org 05/07/11 09:35:25
Modified files:
. : Makefile
Log message:
Use the mainline way to handle this.
diff -urN linux/Makefile linux/Makefile
--- linux/Makefile 2005/06/18 14:42:38 1.254
+++ linux/Makefile 2005/07/11 08:35:25 1.255
@@ -167,7 +167,10 @@
# then ARCH is assigned, getting whatever value it gets normally, and
# SUBARCH is subsequently ignored.
-SUBARCH := mips
+SUBARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ \
+ -e s/arm.*/arm/ -e s/sa110/arm/ \
+ -e s/s390x/s390/ -e s/parisc64/parisc/ \
+ -e s/mips.*/mips/ )
# Cross compiling and selecting different set of gcc/bin-utils
# ---------------------------------------------------------------------------
|