commit 65c90f1658bf79b3a682cca364b37a5835077e5d
parent afa43144696fd8d179fa273dbf959ab36469bef7
Author: sin <sin@2f30.org>
Date: Sun, 2 Mar 2014 20:13:41 +0000
Use $nprocs for busybox and 9base
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/pkgs/9base b/pkgs/9base
@@ -6,12 +6,12 @@ build: crossmusl
make clean
for t in lib9 yacc; do
cd $t
- make CC=$CC
+ make -j$nprocs CC=$CC
cd ..
done
for t in $targets; do
cd $t
- make CC=$CC
+ make -j$nprocs CC=$CC
cp $t $root/bin/
cd ..
done
diff --git a/pkgs/busybox b/pkgs/busybox
@@ -4,7 +4,7 @@ url="http://www.busybox.net/downloads/busybox-$v.tar.bz2"
build: crossmusl
cd src/busybox-$v
cp $top/stuff/busybox.config .config
- make CC=$CC busybox
+ make -j$nprocs CC=$CC busybox
cp busybox "${root}/bin"
cd "${root}/bin"
ln -sf busybox addgroup