X-Git-Url: http://git.samba.org/samba.git/?a=blobdiff_plain;f=arch%2Fmips%2FMakefile;fp=arch%2Fmips%2FMakefile;h=258234c35a096d7ac6ed32bbb6dbc0986fc3ea06;hb=0f979d815cd52084b99e9f6b367e79488850df2e;hp=e71d587af49c93d8d3587adffb4ee3b3e4e198bb;hpb=ab159ac569fddf812c0a217d6dbffaa5d93ef88f;p=sfrench%2Fcifs-2.6.git diff --git a/arch/mips/Makefile b/arch/mips/Makefile index e71d587af49c..258234c35a09 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile @@ -50,7 +50,7 @@ tool-archpref = $(64bit-tool-archpref) UTS_MACHINE := mips64 endif -ifneq ($(SUBARCH),$(ARCH)) +ifdef cross_compiling ifeq ($(CROSS_COMPILE),) CROSS_COMPILE := $(call cc-cross-prefix, $(tool-archpref)-linux- $(tool-archpref)-linux-gnu- $(tool-archpref)-unknown-linux-gnu-) endif