소스 검색

Makefile: Auto-update submodules.

Paul Sokolovsky 10 년 전
부모
커밋
c3c96ee0d0
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 1
      Makefile

+ 5 - 1
Makefile

@@ -48,7 +48,7 @@ toolchain:
 	sed -r -i s%CT_INSTALL_DIR_RO=y%"#"CT_INSTALL_DIR_RO=y% .config
 	./ct-ng build
 
-crosstool-NG/ct-ng:
+crosstool-NG/ct-ng: crosstool-NG/bootstrap
 	make -C crosstool-NG -f ../Makefile ct-ng
 
 ct-ng:
@@ -56,3 +56,7 @@ ct-ng:
 	./configure --prefix=`pwd`
 	make MAKELEVEL=0
 	make install MAKELEVEL=0
+
+crosstool-NG/bootstrap:
+	@echo "You cloned without --recursive, fetching submodules for you."
+	git submodule update --init --recursive