diff options
Diffstat (limited to 'toolchain')
-rw-r--r-- | toolchain/uClibc/Makefile | 13 |
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\"' \ |