From 40b8ad8f762cae4c44852ee1736ba766f52d5cc3 Mon Sep 17 00:00:00 2001 From: Vineet Gupta Date: Sun, 28 Jun 2015 20:22:01 +0530 Subject: ARC: Fix build failures for ARCompact in linux-next after ARCv2 support Reported-by: Guenter Roeck Signed-off-by: Vineet Gupta --- arch/arc/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'arch/arc/Makefile') 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 -- cgit v1.2.3-58-ga151