cope with older uClibc versions
authorEric Andersen <andersen@codepoet.org>
Tue, 4 May 2004 11:55:08 +0000 (11:55 -0000)
committerEric Andersen <andersen@codepoet.org>
Tue, 4 May 2004 11:55:08 +0000 (11:55 -0000)
make/uclibc.mk

index fbaebb8e31ee65ab6b5f94d03ed7459f06237bc7..5cf69f9af8b1ca0158aeba3759a9ca6634ca8fd0 100644 (file)
@@ -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)