[source] target: add cpu flags for powerpc64
LEDE Commits
lede-commits at lists.infradead.org
Tue Oct 24 04:24:37 PDT 2017
nbd pushed a commit to source.git, branch master:
https://git.lede-project.org/56ed89f0787b9c366e24e360c542bbeebe6e2423
commit 56ed89f0787b9c366e24e360c542bbeebe6e2423
Author: Florian Larysch <fl at n621.de>
AuthorDate: Thu Nov 3 15:54:19 2016 +0100
target: add cpu flags for powerpc64
Signed-off-by: Florian Larysch <fl at n621.de>
---
include/target.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/include/target.mk b/include/target.mk
index c5f6e8b..ef7d855 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
More information about the lede-commits
mailing list