mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
Makefile: rename USER_HOOKS_EXTRA_ENV to EXTRA_ENV
This variable contains extra environment variables that we can not export since they are clashing with some build systems (eg. BUILD_DIR with u-boot). So, we may need these variables for uses other than the user's hooks for instrumentation. For example, we'll use them later on to export BUILD_DIR to the download helper scripts. Fix comment, too. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Reviewed-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
e49a0c656a
commit
9806bf5a9a
@@ -297,11 +297,11 @@ HOST_MAKE_ENV=PATH=$(BR_PATH) \
|
||||
PKG_CONFIG_SYSROOT_DIR="/" \
|
||||
PKG_CONFIG_LIBDIR="$(HOST_DIR)/usr/lib/pkgconfig"
|
||||
|
||||
# This extra environment we can not export ourselves (eg. because some
|
||||
# This is extra environment we can not export ourselves (eg. because some
|
||||
# packages use that variable internally, eg. uboot), so we have to
|
||||
# explicitly pass it to user-supplied external hooks (eg. post-build,
|
||||
# post-images)
|
||||
USER_HOOKS_EXTRA_ENV=\
|
||||
EXTRA_ENV=\
|
||||
PATH=$(BR_PATH) \
|
||||
BUILD_DIR=$(BUILD_DIR)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user