Fix bootstrap generation.
Grab mbld from the right place.
@@ -12,7 +12,7 @@ else
fi
./mbldwrap.sh
-cp mbld/mbld xmbld
+cp obj/mbld/mbld xmbld
./xmbld clean
# The generated shell script should be a compatible bourne
@@ -22,7 +22,7 @@ echo '#!/bin/sh' > $bootscript
echo '# This script is generated by genbootstrap.sh' >> $bootscript
echo '# to regenerate, run "make bootstrap"' >> $bootscript
echo 'pwd=`pwd`' >> $bootscript
-./xmbld -Bnone mbld:mbld | \
+./xmbld -j1 -Bnone mbld:mbld | \
sed "s:^\\(.*\\)/[^/]*\.\.\.: cd \$pwd/\\1:g" | \
sed "s:`pwd`:\$pwd:g" | \
grep '^ ' | \
@@ -30,4 +30,4 @@ echo 'pwd=`pwd`' >> $bootscript
tee -a $bootscript
echo 'true' >> $bootscript
chmod +x $bootscript
-rm ./xmbld
+#rm ./xmbld
