summaryrefslogtreecommitdiffstats
path: root/arch/sh/cpu/sh2/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/cpu/sh2/config.mk')
-rw-r--r--arch/sh/cpu/sh2/config.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/cpu/sh2/config.mk b/arch/sh/cpu/sh2/config.mk
index 4904d76d44..12e202d539 100644
--- a/arch/sh/cpu/sh2/config.mk
+++ b/arch/sh/cpu/sh2/config.mk
@@ -7,11 +7,11 @@
#
ENDIANNESS += -EB
-ifdef CONFIG_SH2A
+ifdef CONFIG_CPU_SH2A
PLATFORM_CPPFLAGS += -m2a -m2a-nofpu -mb
else # SH2
PLATFORM_CPPFLAGS += -m3e -mb
endif
-PLATFORM_CPPFLAGS += -DCONFIG_SH2 $(call cc-option,-mno-fdpic)
+PLATFORM_CPPFLAGS += $(call cc-option,-mno-fdpic)
PLATFORM_LDFLAGS += $(ENDIANNESS)
OpenPOWER on IntegriCloud