From 56ed89f0787b9c366e24e360c542bbeebe6e2423 Mon Sep 17 00:00:00 2001
From: Florian Larysch <fl@n621.de>
Date: Thu, 3 Nov 2016 15:54:19 +0100
Subject: [PATCH] target: add cpu flags for powerpc64

Signed-off-by: Florian Larysch <fl@n621.de>
---
 include/target.mk | 4 ++++
 1 file changed, 4 insertions(+)

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
-- 
2.30.2