mirror of
git://git.2f30.org/morpheus.git
synced 2024-06-28 19:41:21 +00:00
Add nprocs
This commit is contained in:
parent
197b799f45
commit
99f234e993
@ -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
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
|
||||
|
Loading…
Reference in New Issue
Block a user