1
0
mirror of git://git.2f30.org/morpheus.git synced 2024-06-16 11:48:34 +00:00

Use $nprocs for busybox and 9base

This commit is contained in:
sin 2014-03-02 20:13:41 +00:00
parent afa4314469
commit 65c90f1658
2 changed files with 3 additions and 3 deletions

@ -6,12 +6,12 @@ build: crossmusl
make clean make clean
for t in lib9 yacc; do for t in lib9 yacc; do
cd $t cd $t
make CC=$CC make -j$nprocs CC=$CC
cd .. cd ..
done done
for t in $targets; do for t in $targets; do
cd $t cd $t
make CC=$CC make -j$nprocs CC=$CC
cp $t $root/bin/ cp $t $root/bin/
cd .. cd ..
done done

@ -4,7 +4,7 @@ url="http://www.busybox.net/downloads/busybox-$v.tar.bz2"
build: crossmusl build: crossmusl
cd src/busybox-$v cd src/busybox-$v
cp $top/stuff/busybox.config .config cp $top/stuff/busybox.config .config
make CC=$CC busybox make -j$nprocs CC=$CC busybox
cp busybox "${root}/bin" cp busybox "${root}/bin"
cd "${root}/bin" cd "${root}/bin"
ln -sf busybox addgroup ln -sf busybox addgroup