From 1dabd712525ae5ac7a0df28ed05a19d834ff746c Mon Sep 17 00:00:00 2001 From: Ivan Kuten Date: Thu, 15 Nov 2007 15:44:15 +0000 Subject: [PATCH] update uClibc config for nios2 --- toolchain/uClibc/uclibc.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/toolchain/uClibc/uclibc.mk b/toolchain/uClibc/uclibc.mk index ebed4a03aa..706cc723ec 100644 --- a/toolchain/uClibc/uclibc.mk +++ b/toolchain/uClibc/uclibc.mk @@ -192,6 +192,12 @@ ifeq ($(BR2_mips_64),y) $(SED) 's/.*\(CONFIG_MIPS_ISA_MIPS64\).*/\1=y/' $(UCLIBC_DIR)/.oldconfig endif endif +ifeq ($(UCLIBC_TARGET_ARCH),nios2) + /bin/echo "# UCLIBC_FORMAT_FDPIC_ELF is not set" >> $(UCLIBC_DIR)/.oldconfig + /bin/echo "UCLIBC_FORMAT_FLAT=y" >> $(UCLIBC_DIR)/.oldconfig + /bin/echo "# UCLIBC_FORMAT_FLAT_SEP_DATA is not set" >> $(UCLIBC_DIR)/.oldconfig + /bin/echo "# UCLIBC_FORMAT_SHARED_FLAT is not set" >> $(UCLIBC_DIR)/.oldconfig +endif ifeq ($(UCLIBC_TARGET_ARCH),sh) /bin/echo "# CONFIG_SH2A is not set" >> $(UCLIBC_DIR)/.oldconfig /bin/echo "# CONFIG_SH2 is not set" >> $(UCLIBC_DIR)/.oldconfig -- 2.30.2