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:
Samuel Martin 2014-04-15 00:31:09 +02:00 committed by Thomas Petazzoni
parent aa0b88a0ca
commit 57eb048c30

View File

@ -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)
################################################################################