mm/ioremap: rename ioremap_*_range to vmap_*_range
[platform/kernel/linux-rpi.git] / Makefile
index 9bf8df1..6eafedd 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -404,12 +404,14 @@ ifeq ($(ARCH),sh64)
        SRCARCH := sh
 endif
 
+export cross_compiling :=
+ifneq ($(SRCARCH),$(SUBARCH))
+cross_compiling := 1
+endif
+
 KCONFIG_CONFIG ?= .config
 export KCONFIG_CONFIG
 
-# Default file for 'make defconfig'. This may be overridden by arch-Makefile.
-export KBUILD_DEFCONFIG := defconfig
-
 # SHELL used by kbuild
 CONFIG_SHELL := sh