Przeglądaj źródła

Patch from Stefan Allius, rebuild extra/config/conf if it is missing
following a make clean

Eric Andersen 21 lat temu
rodzic
commit
51da40e78d
1 zmienionych plików z 3 dodań i 0 usunięć
  1. 3 0
      Makefile

+ 3 - 0
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)