openwrt: Make the number of parallel Make jobslots configurable
This commit is contained in:
@@ -1 +1,2 @@
|
||||
docker_src=/devel/docker
|
||||
build_threads=24
|
||||
|
||||
@@ -39,7 +39,7 @@ output: ${docker_src}/built/openwrt-builder-master.sentinel $(BASE_REQS)
|
||||
-v $$PWD/input:/input \
|
||||
-v $$PWD/input.sh:/input.sh \
|
||||
-v $$PWD/output.sh:/output.sh \
|
||||
--rm -it openwrt-builder-master make V=ssc -j24 build
|
||||
--rm -it openwrt-builder-master make V=ssc -j ${build_threads}
|
||||
|
||||
output-%: ${docker_src}/built/openwrt-builder-%.sentinel $(BASE_REQS)
|
||||
docker run \
|
||||
@@ -47,7 +47,7 @@ output-%: ${docker_src}/built/openwrt-builder-%.sentinel $(BASE_REQS)
|
||||
-v $$PWD/input:/input \
|
||||
-v $$PWD/input.sh:/input.sh \
|
||||
-v $$PWD/output.sh:/output.sh \
|
||||
--rm -it openwrt-builder-$* make V=ssc -j24
|
||||
--rm -it openwrt-builder-$* make V=ssc -j ${build_threads}
|
||||
|
||||
debug-%: ${docker_src}/built/openwrt-builder-%.sentinel $(BASE_REQS)
|
||||
docker run \
|
||||
|
||||
Reference in New Issue
Block a user