diff options
author | Nobuhiro Iwamatsu <iwamatsu@nigauri.org> | 2014-01-08 04:46:06 (GMT) |
---|---|---|
committer | Nobuhiro Iwamatsu <iwamatsu@nigauri.org> | 2014-01-08 05:13:55 (GMT) |
commit | 14eeb926bb1fc7fbfa0e8767136540ed10aff81a (patch) | |
tree | 95157e9f2dda6b60ae7e5f7715cbcd35e8a19031 /arch/sh/cpu | |
parent | 9f618330328b18547dbc8ebc1f0c48fefdae7513 (diff) | |
download | u-boot-14eeb926bb1fc7fbfa0e8767136540ed10aff81a.tar.xz |
sh: sh2: Add CONFIG_SH2 definition to config.mk of SH2
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'arch/sh/cpu')
-rw-r--r-- | arch/sh/cpu/sh2/config.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/cpu/sh2/config.mk b/arch/sh/cpu/sh2/config.mk index 8a0de96..69273b4 100644 --- a/arch/sh/cpu/sh2/config.mk +++ b/arch/sh/cpu/sh2/config.mk @@ -12,7 +12,7 @@ PLATFORM_CPPFLAGS += -m2a -m2a-nofpu -mb -ffreestanding else # SH2 PLATFORM_CPPFLAGS += -m3e -mb endif -PLATFORM_CPPFLAGS += $(call cc-option,-mno-fdpic) +PLATFORM_CPPFLAGS += -DCONFIG_SH2 $(call cc-option,-mno-fdpic) PLATFORM_RELFLAGS += -ffixed-r13 PLATFORM_LDFLAGS += $(ENDIANNESS) |