aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/Makefile
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2016-12-22 09:06:08 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2020-06-22 14:19:12 +1000
commit548ad77d10f7ad6e5f84a0026978da2ed1df0dae (patch)
tree5b2e717ebd08171b80bbeca4c920e89c853cf860 /arch/powerpc/Makefile
parentpowerpc/fixmap: Fix FIX_EARLY_DEBUG_BASE when page size is 256k (diff)
downloadlinux-dev-548ad77d10f7ad6e5f84a0026978da2ed1df0dae.tar.xz
linux-dev-548ad77d10f7ad6e5f84a0026978da2ed1df0dae.zip
powerpc/4xx: ppc4xx compile flag optimizations
This patch splits up the compile flags between ppc40x and ppc44x. Signed-off-by: John Crispin <john@phrozen.org> Signed-off-by: Imre Kaloz <kaloz@openwrt.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/1482393968-60623-1-git-send-email-john@phrozen.org
Diffstat (limited to 'arch/powerpc/Makefile')
-rw-r--r--arch/powerpc/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile
index f310c32e88a4..3e8da9cf2eb9 100644
--- a/arch/powerpc/Makefile
+++ b/arch/powerpc/Makefile
@@ -246,7 +246,8 @@ KBUILD_CFLAGS += -fno-asynchronous-unwind-tables
# often slow when they are implemented at all
KBUILD_CFLAGS += $(call cc-option,-mno-string)
-cpu-as-$(CONFIG_4xx) += -Wa,-m405
+cpu-as-$(CONFIG_40x) += -Wa,-m405
+cpu-as-$(CONFIG_44x) += -Wa,-m440
cpu-as-$(CONFIG_ALTIVEC) += $(call as-option,-Wa$(comma)-maltivec)
cpu-as-$(CONFIG_E200) += -Wa,-me200
cpu-as-$(CONFIG_E500) += -Wa,-me500