aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arc/Makefile
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2013-06-01 03:25:42 -0400
committerVineet Gupta <vgupta@synopsys.com>2013-06-22 04:16:42 -0400
commit8235703e103579bdcedadcaf63bc1896f82b191b (patch)
treeeb3a6ca225399f2a52381a07abcb23a33ea24261 /arch/arc/Makefile
parentba5afadb114d09ce52a0d6886a0eab4fcb679501 (diff)
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
16 16
17cflags-y += -mA7 -fno-common -pipe -fno-builtin -D__linux__ 17cflags-y += -mA7 -fno-common -pipe -fno-builtin -D__linux__
18 18
19LINUXINCLUDE += -include ${src}/arch/arc/include/asm/defines.h
20
21ifdef CONFIG_ARC_CURR_IN_REG 19ifdef CONFIG_ARC_CURR_IN_REG
22# For a global register defintion, make sure it gets passed to every file 20# For a global register defintion, make sure it gets passed to every file
23# We had a customer reported bug where some code built in kernel was NOT using 21# We had a customer reported bug where some code built in kernel was NOT using
24# any kernel headers, and missing the r25 global register 22# any kernel headers, and missing the r25 global register
25# Can't do unconditionally (like above) because of recursive include issues 23# Can't do unconditionally because of recursive include issues
26# due to <linux/thread_info.h> 24# due to <linux/thread_info.h>
27LINUXINCLUDE += -include ${src}/arch/arc/include/asm/current.h 25LINUXINCLUDE += -include ${src}/arch/arc/include/asm/current.h
28endif 26endif