]> rtime.felk.cvut.cz Git - eurobot/public.git/blobdiff - build/prepare_infrastructure
Make compilation of barcol and barcam conditional
[eurobot/public.git] / build / prepare_infrastructure
index 211d0c627b4280d4a798ad5680eaf67a3497e728..dade408d41f238474b09323bf2e8024ed14eec51 100755 (executable)
@@ -18,14 +18,15 @@ update_submodule() {
        git config --remove-section "submodule.$path"
        git checkout "$path"
     else
-       ( cd $path && git submodule update --init ) || exit 1
+       ( cd $path && git submodule init && git submodule update ) || exit 1
     fi
 }
 
-update_submodule build/_infrastructure/sysless-lpc21xx
-update_submodule build/_infrastructure/sysless-h8300
+update_submodule src/sysless
 update_submodule src/orte
+update_submodule src/ulut
 update_submodule robot-root
+update_submodule src/v4l/v4l-utils
 #update_submodule src/pxmc
 #update_submodule src/linux-shark
 
@@ -34,7 +35,7 @@ update_submodule robot-root
 # Default config
 ########################################
 cd $MYDIR
-for i in h8eurobot/ h8mirosot/ h8canusb/ linux/ ppc/ lpceurobot/; do
+for i in h8eurobot/ h8mirosot/ h8canusb/ host/ ppc/ lpceurobot/; do
        echo "make default-config"
        make -C $i default-config | grep -v default-config-pass
 done