From 51da40e78d19c791fa8e0e00f764137b0e5a9e36 Mon Sep 17 00:00:00 2001
From: Eric Andersen <andersen@codepoet.org>
Date: Sat, 9 Nov 2002 00:13:35 +0000
Subject: Patch from Stefan Allius, rebuild extra/config/conf if it is missing
 following a make clean

---
 Makefile | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'Makefile')

diff --git a/Makefile b/Makefile
index 041147f6e..822b0192f 100644
--- a/Makefile
+++ b/Makefile
@@ -78,6 +78,9 @@ ifeq ($(strip $(HAVE_SHARED)),y)
 endif
 
 include/bits/uClibc_config.h: .config
+	@if [ ! -x ./extra/config/conf ] ; then \
+	    make -C extra/config; \
+	fi;
 	rm -rf include/bits
 	mkdir -p include/bits
 	@./extra/config/conf -o extra/Configs/Config.$(TARGET_ARCH)
-- 
cgit v1.2.3