summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-11-09 00:13:35 +0000
committerEric Andersen <andersen@codepoet.org>2002-11-09 00:13:35 +0000
commit51da40e78d19c791fa8e0e00f764137b0e5a9e36 (patch)
tree1a0120ebcc199b439d2536fbbef2debc71b21b51
parent048ccc8b0aefddb4e653995405db454b0f6941da (diff)
Patch from Stefan Allius, rebuild extra/config/conf if it is missing
following a make clean
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
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)