summaryrefslogtreecommitdiffstats
path: root/package/Makefile.in
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2014-03-10 21:51:33 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-04-17 23:07:58 +0200
commit9806bf5a9a2705a17b574ac4d376fba9a148b8bb (patch)
tree331d17f106bd9c323a919bc726614aea46b8d8b4 /package/Makefile.in
parente49a0c656a1a27b80bca730f40101f6ff37d42af (diff)
downloadbuildroot-9806bf5a9a2705a17b574ac4d376fba9a148b8bb.tar.gz
buildroot-9806bf5a9a2705a17b574ac4d376fba9a148b8bb.zip
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>
Diffstat (limited to 'package/Makefile.in')
-rw-r--r--package/Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/Makefile.in b/package/Makefile.in
index 31eaaf225c..c34a3bf43d 100644
--- a/package/Makefile.in
+++ b/package/Makefile.in
@@ -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)
OpenPOWER on IntegriCloud