mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/Makefile.in: add PARALLEL_JOBS to post-build/post-image scripts
Post-build, post-image, and other build scripts may run some commands in parallel, for example to parallelize xargs, Makefiles, etc. Export PARALLEL_JOBS to these scripts so they can enforce the same job limits that other Buildroot packages use. Signed-off-by: Brandon Maier <brandon.maier@collins.com> Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
This commit is contained in:
committed by
Arnout Vandecappelle
parent
e167800979
commit
a320986c44
@@ -33,8 +33,8 @@ arguments that are only used for the post-image scripts you can use
|
||||
|
||||
Again just like for the post-build scripts, the scripts have access to
|
||||
the environment variables +BR2_CONFIG+, +HOST_DIR+, +STAGING_DIR+,
|
||||
+TARGET_DIR+, +BUILD_DIR+, +BINARIES_DIR+, +CONFIG_DIR+ and
|
||||
+BASE_DIR+.
|
||||
+TARGET_DIR+, +BUILD_DIR+, +BINARIES_DIR+, +CONFIG_DIR+, +BASE_DIR+,
|
||||
and +PARALLEL_JOBS+.
|
||||
|
||||
The post-image scripts will be executed as the user that executes
|
||||
Buildroot, which should normally _not_ be the root user. Therefore, any
|
||||
|
||||
Reference in New Issue
Block a user