openwrt: Make the number of parallel Make jobslots configurable

This commit is contained in:
2021-03-16 19:26:29 +00:00
parent 7f20ca9ed5
commit e20bf690c1
2 changed files with 3 additions and 2 deletions

View File

@@ -1 +1,2 @@
docker_src=/devel/docker
build_threads=24

View File

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