Makefile: add PATH to the USER_HOOKS_EXTRA_ENV
This can be useful for post-{build,image} scripts, in case some host-tools were specifically built to be used by these scripts. Signed-off-by: Samuel Martin <s.martin49@gmail.com> Cc: "Yann E. MORIN" <yann.morin.1998@free.fr> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
aa0b88a0ca
commit
57eb048c30
@ -302,6 +302,7 @@ HOST_MAKE_ENV=PATH=$(BR_PATH) \
|
||||
# explicitly pass it to user-supplied external hooks (eg. post-build,
|
||||
# post-images)
|
||||
USER_HOOKS_EXTRA_ENV=\
|
||||
PATH=$(BR_PATH) \
|
||||
BUILD_DIR=$(BUILD_DIR)
|
||||
|
||||
################################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user