summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-05-31 18:36:26 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-05-31 18:40:11 +0200
commit7c075a086d1d4e30ae3d03eabdb5a3b932b5e33c (patch)
tree2a869dd674c466f17f40ba89b925847abcf18ba3 /target
parent0c095815c447305416758ceed6cdf965411a4bf5 (diff)
fix toolchain build, need to set -mcpu
Diffstat (limited to 'target')
-rw-r--r--target/config/Config.in.target1
-rw-r--r--target/microblaze/systems/qemu-microblaze1
2 files changed, 2 insertions, 0 deletions
diff --git a/target/config/Config.in.target b/target/config/Config.in.target
index 433542235..d4924985f 100644
--- a/target/config/Config.in.target
+++ b/target/config/Config.in.target
@@ -3,6 +3,7 @@
config ADK_TARGET_CFLAGS
string
+ default "-mcpu=v7.10.d" if ADK_CPU_MICROBLAZE
default "-m4 -ml" if ADK_CPU_SH4 && ADK_little
default "-m4 -mb" if ADK_CPU_SH4 && ADK_big
default "-mcpu=powerpc" if ADK_CPU_PPC
diff --git a/target/microblaze/systems/qemu-microblaze b/target/microblaze/systems/qemu-microblaze
index ac4a36e9d..9afbb28ca 100644
--- a/target/microblaze/systems/qemu-microblaze
+++ b/target/microblaze/systems/qemu-microblaze
@@ -2,6 +2,7 @@ config ADK_TARGET_SYSTEM_QEMU_MICROBLAZE
bool "Qemu Emulator"
select ADK_microblaze
select ADK_qemu_microblaze
+ select ADK_CPU_MICROBLAZE
select ADK_TARGET_QEMU
select ADK_TARGET_KERNEL_LINUXBIN
help