summaryrefslogtreecommitdiffstats
path: root/arch/arc/Makefile
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2015-06-28 20:22:01 +0530
committerVineet Gupta <vgupta@synopsys.com>2015-06-28 20:30:13 +0530
commit40b8ad8f762cae4c44852ee1736ba766f52d5cc3 (patch)
tree515e7a14fbb7122f042519fb0e6fe351112417fe /arch/arc/Makefile
parentd1c6c2fbcda341c583a9277c36404d24bb773140 (diff)
downloadlinux-40b8ad8f762cae4c44852ee1736ba766f52d5cc3.tar.bz2
ARC: Fix build failures for ARCompact in linux-next after ARCv2 support
Reported-by: Guenter Roeck <private@roeck-us.net> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/Makefile')
-rw-r--r--arch/arc/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arc/Makefile b/arch/arc/Makefile
index e608e0759090..6107062c0111 100644
--- a/arch/arc/Makefile
+++ b/arch/arc/Makefile
@@ -15,8 +15,8 @@ endif
KBUILD_DEFCONFIG := nsim_700_defconfig
cflags-y += -fno-common -pipe -fno-builtin -D__linux__
-cflags-${CONFIG_ISA_ARCOMPACT} += -mA7
-cflags-${CONFIG_ISA_ARCV2} += -mcpu=archs
+cflags-$(CONFIG_ISA_ARCOMPACT) += -mA7
+cflags-$(CONFIG_ISA_ARCV2) += -mcpu=archs
ifdef CONFIG_ARC_CURR_IN_REG
# For a global register defintion, make sure it gets passed to every file