1
0
mirror of git://git.2f30.org/morpheus.git synced 2024-06-25 23:38:36 +00:00

Add nprocs

This commit is contained in:
sin 2013-09-06 10:53:51 +01:00
parent 197b799f45
commit 99f234e993
4 changed files with 5 additions and 4 deletions

@ -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
}

@ -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
}

@ -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
}

3
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