5 function darcs_import()
7 [ -x "`which darcs`" ] || return
10 if [ ! -d ${REPODIR}/_darcs ]; then
11 darcs get ${ORIGIN} --repo-name=${REPODIR}
13 (cd ${REPODIR}; darcs pull --all ${ORIGIN})
19 #if [ ! -d _infrastructure/sysless-lpc21xx ]; then
20 # git clone git://rtime.felk.cvut.cz/sysless-lpc21xx _infrastructure/sysless-lpc21xx
21 # (cd _infrastructure/sysless-lpc21xx; git submodule init; git submodule update; common/linkarch)
23 # (cd _infrastructure/sysless-lpc21xx; git pull; git submodule update)
26 if [ ! -d _infrastructure/h8300-boot ]; then
27 git clone git://rtime.felk.cvut.cz/sysless-h8300 _infrastructure/h8300-boot
28 (cd _infrastructure/h8300-boot; git submodule init; git submodule update; common/linkarch)
30 (cd _infrastructure/h8300-boot; git pull; git submodule update)
33 darcs_import ../src/pxmc rtime.felk.cvut.cz:/var/repos/pxmc
35 for i in h8eurobot/ h8mirosot/ h8canusb/ linux/ ppc/; do
36 make -C $i default-config
40 # [ -d $i -a $i != h8300-boot ] && ln -sf ../../$i h8300-boot/app
43 # echo "You can find all your applications in h8300-boot/app"