target: add cpu flags for powerpc64
authorFlorian Larysch <fl@n621.de>
Thu, 3 Nov 2016 14:54:19 +0000 (15:54 +0100)
committerFelix Fietkau <nbd@nbd.name>
Tue, 24 Oct 2017 11:24:04 +0000 (13:24 +0200)
Signed-off-by: Florian Larysch <fl@n621.de>
include/target.mk

index c5f6e8bedeb3e1c150098d85a22d2b99dc53cef4..ef7d8555d83ff05b29d562642fad8d6e5263e39f 100644 (file)
@@ -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