diff options
author | Robin Burchell <robin+git@viroteck.net> | 2019-05-15 20:26:31 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-05-15 21:14:09 +0200 |
commit | c6bc23a748c87d8dab1f602703d95bb639e627e4 (patch) | |
tree | 26125c454ae37fcc5f7985221c594523c0e06642 /Kernel | |
parent | f9515d56e722cf834cced58dacdc4364827f21ea (diff) | |
download | serenity-c6bc23a748c87d8dab1f602703d95bb639e627e4.zip |
makeall: Like BuildIt, respect MAKEJOBS
Diffstat (limited to 'Kernel')
-rwxr-xr-x | Kernel/makeall.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Kernel/makeall.sh b/Kernel/makeall.sh index 73616b02af..f7d7f177b0 100755 --- a/Kernel/makeall.sh +++ b/Kernel/makeall.sh @@ -2,7 +2,11 @@ sudo id -make_cmd="make -j3" +if [ -z "$MAKEJOBS" ]; then + MAKEJOBS=$(nproc) +fi + +make_cmd="make -j $MAKEJOBS" $make_cmd -C ../LibC clean && \ $make_cmd -C ../LibC && \ |