[PATCH] allow CROSS_COMPILE override

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Anybody would object this?  It allows one to override
CROSS_COMPILE from command line or top-level Makefile.

Jun

diff -Nru linux/arch/mips/Makefile.orig linux/arch/mips/Makefile
--- linux/arch/mips/Makefile.orig	Thu Feb 20 10:49:18 2003
+++ linux/arch/mips/Makefile	Thu Feb 20 12:18:53 2003
@@ -23,7 +23,9 @@
 endif
 
 ifdef CONFIG_CROSSCOMPILE
-CROSS_COMPILE	= $(tool-prefix)
+  ifndef CROSS_COMPILE
+    CROSS_COMPILE	= $(tool-prefix)
+  endif
 endif
 
 #

[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux