summaryrefslogtreecommitdiff
path: root/target/mips64el
diff options
context:
space:
mode:
authorwbx <wbx@openadk.org>2011-04-13 09:52:52 +0200
committerwbx <wbx@openadk.org>2011-04-13 09:52:52 +0200
commitb5a0fff870a44d83222e71331cac269f021652a3 (patch)
tree3babb619b1c61ca200c8c06801e323793a576793 /target/mips64el
parent933e74c07231e815bbfd9ed90073308eaf253a00 (diff)
use the right TARGET_CFLAGS
Diffstat (limited to 'target/mips64el')
-rw-r--r--target/mips64el/sys-available/lemote-yeelong1
-rw-r--r--target/mips64el/sys-available/qemu-mips64el1
-rw-r--r--target/mips64el/sys-available/toolchain-mips64el1
-rw-r--r--target/mips64el/target.mk2
4 files changed, 4 insertions, 1 deletions
diff --git a/target/mips64el/sys-available/lemote-yeelong b/target/mips64el/sys-available/lemote-yeelong
index 6eedb9ebc..f868d3913 100644
--- a/target/mips64el/sys-available/lemote-yeelong
+++ b/target/mips64el/sys-available/lemote-yeelong
@@ -3,6 +3,7 @@ config ADK_TARGET_SYSTEM_LEMOTE_YEELONG
select ADK_mips64el
select ADK_lemote_yeelong
select ADK_LINUX_64
+ select ADK_CPU_LOONGSON2F
select ADK_KERNEL_MACH_LOONGSON
select ADK_KERNEL_LEMOTE_MACH2F
select ADK_TARGET_WITH_USB_BOOT
diff --git a/target/mips64el/sys-available/qemu-mips64el b/target/mips64el/sys-available/qemu-mips64el
index 47818f392..bdc8ba76d 100644
--- a/target/mips64el/sys-available/qemu-mips64el
+++ b/target/mips64el/sys-available/qemu-mips64el
@@ -2,6 +2,7 @@ config ADK_TARGET_SYSTEM_QEMU_MIPS64EL
bool "Qemu Emulator"
select ADK_mips64el
select ADK_qemu_mips64el
+ select ADK_CPU_MIPS64
select ADK_LINUX_64
select ADK_KERNEL_MIPS_MALTA
select ADK_HARDWARE_QEMU
diff --git a/target/mips64el/sys-available/toolchain-mips64el b/target/mips64el/sys-available/toolchain-mips64el
index a403df0cd..c64972736 100644
--- a/target/mips64el/sys-available/toolchain-mips64el
+++ b/target/mips64el/sys-available/toolchain-mips64el
@@ -2,6 +2,7 @@ config ADK_TARGET_SYSTEM_TOOLCHAIN_MIPS64EL
bool "Toolchain only"
select ADK_mips64el
select ADK_toolchain_mips64el
+ select ADK_CPU_MIPS64
select ADK_TOOLCHAIN_ONLY
select ADK_LINUX_64
help
diff --git a/target/mips64el/target.mk b/target/mips64el/target.mk
index 2057c77fb..b45a49460 100644
--- a/target/mips64el/target.mk
+++ b/target/mips64el/target.mk
@@ -2,4 +2,4 @@ include $(TOPDIR)/mk/kernel-ver.mk
ARCH:= mips
CPU_ARCH:= mips64el
TARGET_OPTIMIZATION:= -Os -pipe
-TARGET_CFLAGS_ARCH:= -march=mips64 -mabi=64
+TARGET_CFLAGS_ARCH:= $(ADK_TARGET_CFLAGS) -mabi=64