summaryrefslogtreecommitdiffstats
path: root/toolchain
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 /toolchain
parent06510069f8690f38a95a7bf3744b7f3fe56ba6e0 (diff)
downloadbuildroot-1dabd712525ae5ac7a0df28ed05a19d834ff746c.tar.gz
buildroot-1dabd712525ae5ac7a0df28ed05a19d834ff746c.zip
update uClibc config for nios2
Diffstat (limited to 'toolchain')
-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 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
OpenPOWER on IntegriCloud