summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-06-02 08:10:23 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-06-02 08:10:34 +0200
commit4dcb51bde55e8d41988c9ca974af252ee4095408 (patch)
tree1b03de8dd4dda031b8892182eab9cf02d83a9ed6 /target
parent40c3106097de2cd717a87e2518e38b7f8ec958f4 (diff)
use correct -march for x86_64
Diffstat (limited to 'target')
-rw-r--r--target/config/Config.in.cpu2
-rw-r--r--target/config/Config.in.target2
-rw-r--r--target/x86_64/systems/qemu-x86_642
3 files changed, 3 insertions, 3 deletions
diff --git a/target/config/Config.in.cpu b/target/config/Config.in.cpu
index 3d4edc056..56678b639 100644
--- a/target/config/Config.in.cpu
+++ b/target/config/Config.in.cpu
@@ -108,7 +108,7 @@ config ADK_TARGET_CPU_ARCH
string
default "x86_64" if ADK_CPU_X86_64
default "x86_64" if ADK_CPU_AMDFAM10
- default "x86_64" if ADK_CPU_ATHLON
+ default "i686" if ADK_CPU_ATHLON
default "i486" if ADK_CPU_I486
default "i586" if ADK_CPU_I586
default "i686" if ADK_CPU_I686
diff --git a/target/config/Config.in.target b/target/config/Config.in.target
index d4924985f..c1cf1d534 100644
--- a/target/config/Config.in.target
+++ b/target/config/Config.in.target
@@ -12,7 +12,7 @@ config ADK_TARGET_CFLAGS
default "-march=i486" if ADK_CPU_I486
default "-march=i586" if ADK_CPU_I586
default "-march=i686" if ADK_CPU_I686
- default "-mtune=generic" if ADK_CPU_X86_64
+ default "-march=x86-64" if ADK_CPU_X86_64
default "-march=athlon" if ADK_CPU_ATHLON
default "-march=pentium-m" if ADK_CPU_PENTIUM_M
default "-march=atom" if ADK_CPU_ATOM
diff --git a/target/x86_64/systems/qemu-x86_64 b/target/x86_64/systems/qemu-x86_64
index 78e82294a..11e5c92cb 100644
--- a/target/x86_64/systems/qemu-x86_64
+++ b/target/x86_64/systems/qemu-x86_64
@@ -2,7 +2,7 @@ config ADK_TARGET_SYSTEM_QEMU_X86_64
bool "Qemu Emulator"
select ADK_x86_64
select ADK_qemu_x86_64
- select ADK_CPU_ATHLON
+ select ADK_CPU_X86_64
select ADK_LINUX_64
select ADK_TARGET_QEMU
select ADK_TARGET_KERNEL_BZIMAGE