summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Kuten <ivan.kuten@promwad.com>2007-11-15 15:44:15 +0000
committerIvan Kuten <ivan.kuten@promwad.com>2007-11-15 15:44:15 +0000
commit1dabd712525ae5ac7a0df28ed05a19d834ff746c (patch)
treed32484d71f4fc4acf3eb5d694969f415dd358f63
parent06510069f8690f38a95a7bf3744b7f3fe56ba6e0 (diff)
downloadbuildroot-novena-1dabd712525ae5ac7a0df28ed05a19d834ff746c.tar.gz
buildroot-novena-1dabd712525ae5ac7a0df28ed05a19d834ff746c.zip
update uClibc config for nios2
-rw-r--r--toolchain/uClibc/uclibc.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/toolchain/uClibc/uclibc.mk b/toolchain/uClibc/uclibc.mk
index ebed4a03a..706cc723e 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