summaryrefslogtreecommitdiff
path: root/toolchain/uClibc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2012-09-20 16:07:38 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2012-09-20 16:07:38 +0200
commitc813b0fb68fb1e0eb10cb9d9dc559b4d9960192b (patch)
treeac4aaff0123feada879379905f0a08013006dcfe /toolchain/uClibc/Makefile
parent8920707b021150482ceea48f5af7cde46aa739f1 (diff)
add basic support for qemu-mips64
Diffstat (limited to 'toolchain/uClibc/Makefile')
-rw-r--r--toolchain/uClibc/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/toolchain/uClibc/Makefile b/toolchain/uClibc/Makefile
index d94bd982b..5d3638cbd 100644
--- a/toolchain/uClibc/Makefile
+++ b/toolchain/uClibc/Makefile
@@ -16,15 +16,28 @@ endif
UCLIBCCFG=uclibc.config
ifeq ($(ADK_TARGET_ENDIAN),little)
+ifeq ($(ADK_CPU_MIPS64),y)
+UCLIBCCFG=uclibc.config.little.mips64
+else
UCLIBCCFG=uclibc.config.little
endif
+endif
ifeq ($(ADK_TARGET_ENDIAN),big)
+ifeq ($(ADK_CPU_MIPS64),y)
+UCLIBCCFG=uclibc.config.big.mips64
+else
UCLIBCCFG=uclibc.config.big
endif
+endif
+
ifeq ($(ADK_TARGET_SYSTEM_QEMU_CRIS),y)
UCLIBCCFG=uclibc.config.v32
endif
+ifeq ($(ADK_TARGET_SYSTEM_LEMOTE_YEELONG),y)
+UCLIBCCFG=uclibc.config.little.mips64
+endif
+
$(WRKBUILD)/.headers:
$(SED) 's,^CROSS=.*,CROSS=$(TARGET_CROSS),g' $(WRKBUILD)/Rules.mak
sed -e 's^KERNEL_HEADERS.*$$KERNEL_HEADERS=\"${STAGING_TARGET_DIR}/usr/include\"' \