X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=arch%2Farc%2FMakefile;h=8782a03f24a8e6f974e0d681d5ebc9c4c594781e;hb=e07af2626643293fa16df655979e7963250abc63;hp=c0d87ac2e2219e5dfee61ecee492fbaac672faba;hpb=020efdadd84958debc36e74fb5cc52b30697a611;p=linux-2.6-microblaze.git diff --git a/arch/arc/Makefile b/arch/arc/Makefile index c0d87ac2e221..8782a03f24a8 100644 --- a/arch/arc/Makefile +++ b/arch/arc/Makefile @@ -18,8 +18,7 @@ ifeq ($(CONFIG_ARC_TUNE_MCPU),"") cflags-y += $(tune-mcpu-def-y) else tune-mcpu := $(shell echo $(CONFIG_ARC_TUNE_MCPU)) -tune-mcpu-ok := $(call cc-option-yn, $(tune-mcpu)) -ifeq ($(tune-mcpu-ok),y) +ifneq ($(call cc-option,$(tune-mcpu)),) cflags-y += $(tune-mcpu) else # The flag provided by 'CONFIG_ARC_TUNE_MCPU' option isn't known by this compiler