From c3c96ee0d01e9294a4eaba3a24e0332063864b18 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sun, 16 Nov 2014 00:24:24 +0200 Subject: [PATCH] Makefile: Auto-update submodules. --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c31faf2..0188d1d 100644 --- a/Makefile +++ b/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