summaryrefslogtreecommitdiffstats
path: root/make/uclibc.mk
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-05-04 11:55:08 +0000
committerEric Andersen <andersen@codepoet.org>2004-05-04 11:55:08 +0000
commit7037120431a6329522ed0c17a70a5218bf3b38ba (patch)
tree3736b1c0c4a5d68a46fe94a38ef72d2735c3f357 /make/uclibc.mk
parentdce5bb093fa74973cee77107c2e0c5d26d83bf3c (diff)
downloadbuildroot-novena-7037120431a6329522ed0c17a70a5218bf3b38ba.tar.gz
buildroot-novena-7037120431a6329522ed0c17a70a5218bf3b38ba.zip
cope with older uClibc versions
Diffstat (limited to 'make/uclibc.mk')
-rw-r--r--make/uclibc.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/make/uclibc.mk b/make/uclibc.mk
index fbaebb8e3..5cf69f9af 100644
--- a/make/uclibc.mk
+++ b/make/uclibc.mk
@@ -84,7 +84,13 @@ endif
DEVEL_PREFIX=/usr/ \
RUNTIME_PREFIX=$(TOOL_BUILD_DIR)/uClibc_dev/ \
HOSTCC="$(HOSTCC)" \
- pregen install_dev;
+ oldconfig;
+ -$(MAKE) -C $(UCLIBC_DIR) \
+ PREFIX=$(TOOL_BUILD_DIR)/uClibc_dev/ \
+ DEVEL_PREFIX=/usr/ \
+ RUNTIME_PREFIX=$(TOOL_BUILD_DIR)/uClibc_dev/ \
+ HOSTCC="$(HOSTCC)" \
+ headers pregen install_dev;
touch $(UCLIBC_DIR)/.configured
$(UCLIBC_DIR)/lib/libc.a: $(UCLIBC_DIR)/.configured $(LIBFLOAT_TARGET)