summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2012-09-20 17:20:08 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2012-09-20 17:20:08 +0200
commit059e14579d5783a322d4e985e08eaaca408607bc (patch)
tree30465383a501ef8585b80609d8ea45947f92bddf /toolchain
parent4d50bcbbb8223abaf2f10b0879e96e18160f5d83 (diff)
parente1e592c0b31a381ae5ea65606e2ae72d7582d0ca (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'toolchain')
-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\"' \