From: Samuel Martin Date: Mon, 14 Apr 2014 22:31:09 +0000 (+0200) Subject: Makefile: add PATH to the USER_HOOKS_EXTRA_ENV X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=57eb048c302db6f71c3b486c57bc32cb6c1b16fe;p=buildroot.git 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 Cc: "Yann E. MORIN" Acked-by: "Yann E. MORIN" Signed-off-by: Thomas Petazzoni --- diff --git a/package/Makefile.in b/package/Makefile.in index 3549f15b30..31eaaf225c 100644 --- a/package/Makefile.in +++ b/package/Makefile.in @@ -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) ################################################################################