From c813b0fb68fb1e0eb10cb9d9dc559b4d9960192b Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 20 Sep 2012 16:07:38 +0200 Subject: add basic support for qemu-mips64 --- toolchain/uClibc/Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'toolchain/uClibc/Makefile') 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\"' \ -- cgit v1.2.3