Fix CONFIG_CROSS_COMPILE issue in .config
authorYegor Yefremov <yegorslists@googlemail.com>
Wed, 4 Aug 2010 12:16:15 +0000 (14:16 +0200)
committerMichal Marek <mmarek@suse.cz>
Tue, 10 Aug 2010 11:19:44 +0000 (13:19 +0200)
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Makefile

index 968ac2af763bcdc76dcef5f298236a65a0677b0a..f78450e299a29c208717f51bb1058a944c76a34e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -189,7 +189,6 @@ SUBARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ \
 # Note: Some architectures assign CROSS_COMPILE in their arch/*/Makefile
 export KBUILD_BUILDHOST := $(SUBARCH)
 ARCH           ?= $(SUBARCH)
-CROSS_COMPILE  ?=
 CROSS_COMPILE  ?= $(CONFIG_CROSS_COMPILE:"%"=%)
 
 # Architecture as present in compile.h