From 7037120431a6329522ed0c17a70a5218bf3b38ba Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 4 May 2004 11:55:08 +0000 Subject: [PATCH] cope with older uClibc versions --- make/uclibc.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/make/uclibc.mk b/make/uclibc.mk index fbaebb8e31..5cf69f9af8 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) -- 2.30.2