projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sh: Use proper SH-2A CFLAGS on newer compilers.
[firefly-linux-kernel-4.4.55.git]
/
arch
/
sh
/
Makefile
diff --git
a/arch/sh/Makefile
b/arch/sh/Makefile
index c1dbef21263430f68ba594d2b3d893063732cc11..4903c7c665a9a828ce6c0da3bef4820d248396d2 100644
(file)
--- a/
arch/sh/Makefile
+++ b/
arch/sh/Makefile
@@
-35,6
+35,7
@@
endif
endif
cflags-$(CONFIG_CPU_SH2) := -m2
+cflags-$(CONFIG_CPU_SH2A) := -m2a $(call cc-option,-m2a-nofpu,)
cflags-$(CONFIG_CPU_SH3) := -m3
cflags-$(CONFIG_CPU_SH4) := -m4 \
$(call cc-option,-mno-implicit-fp,-m4-nofpu)