You should run build/prepare_infrastructure to update building tree.
--- /dev/null
+[submodule "build/_infrastructure/sysless-lpc21xx"]
+ path = build/_infrastructure/sysless-lpc21xx
+ url = git://rtime.felk.cvut.cz/sysless-lpc21xx.git
+[submodule "build/_infrastructure/sysless-h8300"]
+ path = build/_infrastructure/sysless-h8300
+ url = git://rtime.felk.cvut.cz/sysless-h8300
--- /dev/null
+Subproject commit 0b85ccaa0a48bceb2796cb65b7407a79e4c67600
--- /dev/null
+Subproject commit dbec77ccc1184760f6948c3bf2c4b60c5e71417e
-../_infrastructure/h8300-boot/Makefile
\ No newline at end of file
+../_infrastructure/sysless-h8300/Makefile
\ No newline at end of file
-../_infrastructure/h8300-boot/Makefile.omk
\ No newline at end of file
+../_infrastructure/sysless-h8300/Makefile.omk
\ No newline at end of file
-../_infrastructure/h8300-boot/Makefile.rules
\ No newline at end of file
+../_infrastructure/sysless-h8300/Makefile.rules
\ No newline at end of file
-../_infrastructure/h8300-boot/README.makerules
\ No newline at end of file
+../_infrastructure/sysless-h8300/README.makerules
\ No newline at end of file
-../_infrastructure/h8300-boot/app
\ No newline at end of file
+../_infrastructure/sysless-h8300/app
\ No newline at end of file
-../_infrastructure/h8300-boot/arch
\ No newline at end of file
+../_infrastructure/sysless-h8300/arch
\ No newline at end of file
-../_infrastructure/h8300-boot/board
\ No newline at end of file
+../_infrastructure/sysless-h8300/board
\ No newline at end of file
-../_infrastructure/h8300-boot/libs4c
\ No newline at end of file
+../_infrastructure/sysless-h8300/./libs4c
\ No newline at end of file
-../_infrastructure/h8300-boot/Makefile
\ No newline at end of file
+../_infrastructure/sysless-h8300/Makefile
\ No newline at end of file
-../_infrastructure/h8300-boot/Makefile.omk
\ No newline at end of file
+../_infrastructure/sysless-h8300/Makefile.omk
\ No newline at end of file
-../_infrastructure/h8300-boot/Makefile.rules
\ No newline at end of file
+../_infrastructure/sysless-h8300/Makefile.rules
\ No newline at end of file
-../_infrastructure/h8300-boot/README.makerules
\ No newline at end of file
+../_infrastructure/sysless-h8300/README.makerules
\ No newline at end of file
-../_infrastructure/h8300-boot/app
\ No newline at end of file
+../_infrastructure/sysless-h8300/app
\ No newline at end of file
-../_infrastructure/h8300-boot/arch
\ No newline at end of file
+../_infrastructure/sysless-h8300/arch
\ No newline at end of file
-../_infrastructure/h8300-boot/board
\ No newline at end of file
+../_infrastructure/sysless-h8300/board
\ No newline at end of file
-../_infrastructure/h8300-boot/libs4c
\ No newline at end of file
+../_infrastructure/sysless-h8300/libs4c
\ No newline at end of file
-../_infrastructure/h8300-boot/Makefile
\ No newline at end of file
+../_infrastructure/sysless-h8300/Makefile
\ No newline at end of file
-../_infrastructure/h8300-boot/Makefile.omk
\ No newline at end of file
+../_infrastructure/sysless-h8300/Makefile.omk
\ No newline at end of file
-../_infrastructure/h8300-boot/Makefile.rules
\ No newline at end of file
+../_infrastructure/sysless-h8300/Makefile.rules
\ No newline at end of file
-../_infrastructure/h8300-boot/README.makerules
\ No newline at end of file
+../_infrastructure/sysless-h8300/README.makerules
\ No newline at end of file
-../_infrastructure/h8300-boot/app
\ No newline at end of file
+../_infrastructure/sysless-h8300/app
\ No newline at end of file
-../_infrastructure/h8300-boot/arch
\ No newline at end of file
+../_infrastructure/sysless-h8300/arch
\ No newline at end of file
-../_infrastructure/h8300-boot/board
\ No newline at end of file
+../_infrastructure/sysless-h8300/board
\ No newline at end of file
-../_infrastructure/h8300-boot/libs4c
\ No newline at end of file
+../_infrastructure/sysless-h8300/libs4c
\ No newline at end of file
--- /dev/null
+../_infrastructure/sysless-lpc21xx/Makefile
\ No newline at end of file
--- /dev/null
+../_infrastructure/sysless-lpc21xx/Makefile.omk
\ No newline at end of file
--- /dev/null
+../_infrastructure/sysless-lpc21xx/Makefile.rules
\ No newline at end of file
--- /dev/null
+../_infrastructure/sysless-lpc21xx/app
\ No newline at end of file
--- /dev/null
+../_infrastructure/sysless-lpc21xx/arch
\ No newline at end of file
--- /dev/null
+../_infrastructure/sysless-lpc21xx/board
\ No newline at end of file
--- /dev/null
+../_infrastructure/sysless-lpc21xx/common
\ No newline at end of file
--- /dev/null
+board/lpceurobot/config.lpceurobot
\ No newline at end of file
--- /dev/null
+../_infrastructure/sysless-lpc21xx/doc
\ No newline at end of file
--- /dev/null
+../_infrastructure/sysless-lpc21xx/libs4c
\ No newline at end of file
}
cd `dirname $0`
+MYDIR=$PWD
+
+########################################
+# Update submodules
+########################################
+cd `git rev-parse --show-cdup`
+git submodule init
+git submodule update
+
+for dir in `git submodule status|awk '{print $2}'`; do
+ export dir
+ (
+ cd $dir
+ git submodule init
+ git submodule update
+ )
+done
-#if [ ! -d _infrastructure/sysless-lpc21xx ]; then
-# git clone git://rtime.felk.cvut.cz/sysless-lpc21xx _infrastructure/sysless-lpc21xx
-# (cd _infrastructure/sysless-lpc21xx; git submodule init; git submodule update; common/linkarch)
-#else
-# (cd _infrastructure/sysless-lpc21xx; git pull; git submodule update)
-#fi
-
-if [ ! -d _infrastructure/h8300-boot ]; then
- git clone git://rtime.felk.cvut.cz/sysless-h8300 _infrastructure/h8300-boot
- (cd _infrastructure/h8300-boot; git submodule init; git submodule update; common/linkarch)
-else
- (cd _infrastructure/h8300-boot; git pull; git submodule update)
-fi
-
+########################################
+# Import PXMC
+########################################
+cd $MYDIR
+set +e
+# This can fail if you do not have sufficient rights
darcs_import ../src/pxmc rtime.felk.cvut.cz:/var/repos/pxmc
+set -e
-for i in h8eurobot/ h8mirosot/ h8canusb/ linux/ ppc/; do
+########################################
+# Default config
+########################################
+for i in h8eurobot/ h8mirosot/ h8canusb/ linux/ ppc/ lpceurobot/; do
make -C $i default-config
done
-# for i in *; do
-# [ -d $i -a $i != h8300-boot ] && ln -sf ../../$i h8300-boot/app
-# done
-
-# echo "You can find all your applications in h8300-boot/app"