ARC: Fix build failures for ARCompact in linux-next after ARCv2 support
[firefly-linux-kernel-4.4.55.git] / arch / arc / Makefile
index e608e0759090102310b08b11c1faeeb645b71b12..6107062c01115dbea8a56e02bce254a8ba5b91af 100644 (file)
@@ -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