소스 검색

Be certain the config system binaries are current

Eric Andersen 22 년 전
부모
커밋
3056fc1a32
1개의 변경된 파일8개의 추가작업 그리고 5개의 파일을 삭제
  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