system: expose BR2_ROOTFS_POST_SCRIPT_ARGS for PRE_BUILD scripts
Currently, we pass BR2_ROOTFS_POST_SCRIPT_ARGS to each of the scripts in
BR2_ROOTFS_PRE_BUILD_SCRIPT, but the option is not exposed in menuconfig
when only pre-build scripts are used.
Add the pre-build scripts to the condition exposing the extra args
option.
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 96b3295ca1
)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
8a9ca36ec6
commit
a2ce536193
@ -695,12 +695,13 @@ config BR2_ROOTFS_POST_IMAGE_SCRIPT
|
|||||||
|
|
||||||
config BR2_ROOTFS_POST_SCRIPT_ARGS
|
config BR2_ROOTFS_POST_SCRIPT_ARGS
|
||||||
string "Extra arguments passed to custom scripts"
|
string "Extra arguments passed to custom scripts"
|
||||||
depends on BR2_ROOTFS_POST_BUILD_SCRIPT != "" \
|
depends on BR2_ROOTFS_PRE_BUILD_SCRIPT != "" \
|
||||||
|
|| BR2_ROOTFS_POST_BUILD_SCRIPT != "" \
|
||||||
|| BR2_ROOTFS_POST_FAKEROOT_SCRIPT != "" \
|
|| BR2_ROOTFS_POST_FAKEROOT_SCRIPT != "" \
|
||||||
|| BR2_ROOTFS_POST_IMAGE_SCRIPT != ""
|
|| BR2_ROOTFS_POST_IMAGE_SCRIPT != ""
|
||||||
help
|
help
|
||||||
Pass these additional arguments to each post-build or
|
Pass these additional arguments to each pre-build, post-build,
|
||||||
post-image scripts.
|
post-fakeroot and post-image scripts.
|
||||||
|
|
||||||
Note that all the post-build and post-image scripts will be
|
Note that all the post-build and post-image scripts will be
|
||||||
passed the same set of arguments, you can not pass different
|
passed the same set of arguments, you can not pass different
|
||||||
|
Loading…
Reference in New Issue
Block a user