aboutsummaryrefslogtreecommitdiffstats
path: root/include/target.mk
diff options
context:
space:
mode:
authorFlorian Larysch <fl@n621.de>2016-11-03 15:54:19 +0100
committerFelix Fietkau <nbd@nbd.name>2017-10-24 13:24:04 +0200
commit56ed89f0787b9c366e24e360c542bbeebe6e2423 (patch)
tree71776ead5e10ada118c28bd040264c437b3b04ae /include/target.mk
parent0de93311e1575ab6f8e9e90b5023b6fb2cedcf1f (diff)
downloadupstream-56ed89f0787b9c366e24e360c542bbeebe6e2423.tar.gz
upstream-56ed89f0787b9c366e24e360c542bbeebe6e2423.tar.bz2
upstream-56ed89f0787b9c366e24e360c542bbeebe6e2423.zip
target: add cpu flags for powerpc64
Signed-off-by: Florian Larysch <fl@n621.de>
Diffstat (limited to 'include/target.mk')
-rw-r--r--include/target.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/target.mk b/include/target.mk
index c5f6e8bede..ef7d8555d8 100644
--- a/include/target.mk
+++ b/include/target.mk
@@ -205,6 +205,10 @@ ifeq ($(DUMP),1)
CPU_CFLAGS_440:=-mcpu=440
CPU_CFLAGS_464fp:=-mcpu=464fp
endif
+ ifeq ($(ARCH),powerpc64)
+ CPU_TYPE ?= powerpc64
+ CPU_CFLAGS_powerpc64:=-mcpu=powerpc64
+ endif
ifeq ($(ARCH),sparc)
CPU_TYPE = sparc
CPU_CFLAGS_ultrasparc = -mcpu=ultrasparc