From: Rich Felker Date: Sun, 9 Oct 2016 06:35:08 +0000 (-0400) Subject: sh: support CPU_J2 when compiler lacks -mj2 X-Git-Tag: v4.9-rc2~25^2~2 X-Git-Url: http://git.cascardo.eti.br/?a=commitdiff_plain;h=f208b87b48d5af2ea483293eccb3998c467dfba1;hp=c8d2bc9bc39ebea8437fd974fdbc21847bb897a3;p=cascardo%2Flinux.git sh: support CPU_J2 when compiler lacks -mj2 Signed-off-by: Rich Felker --- diff --git a/arch/sh/Makefile b/arch/sh/Makefile index 00476662ac2c..336f33a419d9 100644 --- a/arch/sh/Makefile +++ b/arch/sh/Makefile @@ -31,7 +31,7 @@ isa-y := $(isa-y)-up endif cflags-$(CONFIG_CPU_SH2) := $(call cc-option,-m2,) -cflags-$(CONFIG_CPU_J2) := $(call cc-option,-mj2,) +cflags-$(CONFIG_CPU_J2) += $(call cc-option,-mj2,) cflags-$(CONFIG_CPU_SH2A) += $(call cc-option,-m2a,) \ $(call cc-option,-m2a-nofpu,) \ $(call cc-option,-m4-nofpu,)