summaryrefslogtreecommitdiff
path: root/target/config
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-05-11 00:33:15 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2016-05-11 00:33:25 +0200
commitb1de1e5dcf66b51f3cf9d89326b8b90ac8274bdc (patch)
treeaa03279584e0c5c20c29805426002ee9050e9d51 /target/config
parent3cd52da9f1f624af92379467c46cdffc6887bd48 (diff)
Linux kernel for ppc64 does not like to be built with -mcpu=power7, getting SIGILL for busybox
Diffstat (limited to 'target/config')
-rw-r--r--target/config/Config.in.cpu10
1 files changed, 8 insertions, 2 deletions
diff --git a/target/config/Config.in.cpu b/target/config/Config.in.cpu
index e3cd05da2..35be2979d 100644
--- a/target/config/Config.in.cpu
+++ b/target/config/Config.in.cpu
@@ -754,6 +754,13 @@ config ADK_TARGET_CPU_PPC_440
depends on ADK_TARGET_ARCH_PPC
# ppc64
+config ADK_TARGET_CPU_PPC64_POWERPC64
+ bool "powerpc64"
+ select ADK_LINUX_64
+ select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_WITH_MMU
+ depends on ADK_TARGET_ARCH_PPC64
+
config ADK_TARGET_CPU_PPC64_POWER6
bool "power6"
select ADK_LINUX_64
@@ -1420,6 +1427,7 @@ config ADK_TARGET_GCC_CPU
default "leon" if ADK_TARGET_CPU_SPARC_LEON
default "mpcore" if ADK_TARGET_CPU_ARM_ARM11MPCORE
default "powerpc" if ADK_TARGET_CPU_PPC
+ default "powerpc64" if ADK_TARGET_CPU_PPC64_POWERPC64
default "power6" if ADK_TARGET_CPU_PPC64_POWER6
default "power7" if ADK_TARGET_CPU_PPC64_POWER7
default "power8" if ADK_TARGET_CPU_PPC64_POWER8
@@ -1514,8 +1522,6 @@ config ADK_TARGET_CPU_FLAGS
default "-m3" if ADK_TARGET_CPU_SH_SH3
default "-m4" if ADK_TARGET_CPU_SH_SH4
default "-m4a" if ADK_TARGET_CPU_SH_SH4A
- default "-mcpu=powerpc64" if ADK_TARGET_ARCH_PPC64 && ADK_TARGET_BIG_ENDIAN
- default "-mcpu=powerpc64le" if ADK_TARGET_ARCH_PPC64 && ADK_TARGET_LITTLE_ENDIAN
default "-mcpu=tilegx" if ADK_TARGET_CPU_TILE_TILEGX
default "-mcpu=tilepro" if ADK_TARGET_CPU_TILE_TILEPRO