summaryrefslogtreecommitdiffstats
path: root/arch/arc/Makefile
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2013-06-01 12:55:42 +0530
committerVineet Gupta <vgupta@synopsys.com>2013-06-22 13:46:42 +0530
commit8235703e103579bdcedadcaf63bc1896f82b191b (patch)
treeeb3a6ca225399f2a52381a07abcb23a33ea24261 /arch/arc/Makefile
parentba5afadb114d09ce52a0d6886a0eab4fcb679501 (diff)
downloadlinux-8235703e103579bdcedadcaf63bc1896f82b191b.tar.gz
linux-8235703e103579bdcedadcaf63bc1896f82b191b.tar.bz2
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