Browse Source

Be certain the config system binaries are current

Eric Andersen 20 years ago
parent
commit
3056fc1a32
1 changed files with 8 additions and 5 deletions
  1. 8 5
      Makefile

+ 8 - 5
Makefile

@@ -356,19 +356,22 @@ all: menuconfig
 
 # configuration
 # ---------------------------------------------------------------------------
-
-extra/config/conf:
-	make -C extra/config conf
+extra/config/conf: buildconf
 	-@if [ ! -f .config ] ; then \
 		cp extra/Configs/Config.$(TARGET_ARCH).default .config; \
 	fi
 
-extra/config/mconf:
-	make -C extra/config ncurses conf mconf
+buildconf:
+	make -C extra/config conf
+
+extra/config/mconf: buildmconf
 	-@if [ ! -f .config ] ; then \
 		cp extra/Configs/Config.$(TARGET_ARCH).default .config; \
 	fi
 
+buildmconf:
+	make -C extra/config ncurses mconf
+
 menuconfig: extra/config/mconf
 	rm -rf include/bits
 	mkdir -p include/bits