From: Eric Andersen Date: Tue, 4 May 2004 11:55:08 +0000 (-0000) Subject: cope with older uClibc versions X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7037120431a6329522ed0c17a70a5218bf3b38ba;p=buildroot.git cope with older uClibc versions --- 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)