diff --git a/cross-scripts/musl-0.9.13 b/cross-scripts/musl-0.9.13 index a328b66..1f6beae 100644 --- a/cross-scripts/musl-0.9.13 +++ b/cross-scripts/musl-0.9.13 @@ -13,7 +13,7 @@ unpack() { build() { pushd src/musl-0.9.13 ./configure --prefix=$top/cross --syslibdir=$top/cross/lib - make -j2 + make -j$nprocs popd } diff --git a/pkgs/sbase b/pkgs/sbase index eb57800..9f20c10 100644 --- a/pkgs/sbase +++ b/pkgs/sbase @@ -7,7 +7,7 @@ fetch() { build() { pushd src/sbase make clean - make CC=musl-gcc LDFLAGS=-static + make -j$nprocs CC=musl-gcc LDFLAGS=-static popd } diff --git a/pkgs/ubase b/pkgs/ubase index 472748f..cbc8d89 100644 --- a/pkgs/ubase +++ b/pkgs/ubase @@ -7,7 +7,7 @@ fetch() { build() { pushd src/ubase make clean - make CC=musl-gcc LDFLAGS=-static + make -j$nprocs CC=musl-gcc LDFLAGS=-static popd } diff --git a/stage0 b/stage0 index fc63a4d..d52f763 100755 --- a/stage0 +++ b/stage0 @@ -3,8 +3,9 @@ # Export important variables for the build scripts top=$(pwd) root=$top/root +nprocs=4 mirror=http://dl.2f30.org/morpheus-pkgs -export top root mirror +export top root nprocs mirror ./clean # Create directory hierarchy