summaryrefslogtreecommitdiffstats
path: root/arch/arc/Makefile
diff options
context:
space:
mode:
authorVineet Gupta2013-06-01 09:25:42 +0200
committerVineet Gupta2013-06-22 10:16:42 +0200
commit8235703e103579bdcedadcaf63bc1896f82b191b (patch)
treeeb3a6ca225399f2a52381a07abcb23a33ea24261 /arch/arc/Makefile
parentARC: [plat-arcfpga] Fix build breakage when !CONFIG_ARC_SERIAL (diff)
downloadkernel-qcow2-linux-8235703e103579bdcedadcaf63bc1896f82b191b.tar.gz
kernel-qcow2-linux-8235703e103579bdcedadcaf63bc1896f82b191b.tar.xz
kernel-qcow2-linux-8235703e103579bdcedadcaf63bc1896f82b191b.zip
ARC: Use kconfig helper IS_ENABLED() to get rid of defines.h
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/Makefile')
-rw-r--r--arch/arc/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arc/Makefile b/arch/arc/Makefile
index 183397fd289e..fbc1b84e31f9 100644
--- a/arch/arc/Makefile
+++ b/arch/arc/Makefile
@@ -16,13 +16,11 @@ KBUILD_DEFCONFIG := fpga_defconfig
cflags-y += -mA7 -fno-common -pipe -fno-builtin -D__linux__
-LINUXINCLUDE += -include ${src}/arch/arc/include/asm/defines.h
-
ifdef CONFIG_ARC_CURR_IN_REG
# For a global register defintion, make sure it gets passed to every file
# We had a customer reported bug where some code built in kernel was NOT using
# any kernel headers, and missing the r25 global register
-# Can't do unconditionally (like above) because of recursive include issues
+# Can't do unconditionally because of recursive include issues
# due to <linux/thread_info.h>
LINUXINCLUDE += -include ${src}/arch/arc/include/asm/current.h
endif