aboutsummaryrefslogtreecommitdiff
path: root/package/collectd
diff options
context:
space:
mode:
authorGravatar Gustavo Zacarias <gustavo.zacarias@free-electrons.com>2016-10-17 13:06:57 -0300
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-10-22 15:19:24 +0200
commitb9894b11792212944cb4f478c6fa3a3644329ab2 (patch)
tree6387f379e8404df3eb4c7336e5983291e5b35448 /package/collectd
parentbfe64eab73ed4b1ca3379f1fedc6054431ed7eea (diff)
downloadbuildroot-b9894b11792212944cb4f478c6fa3a3644329ab2.tar.gz
buildroot-b9894b11792212944cb4f478c6fa3a3644329ab2.tar.bz2
collectd: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/collectd')
-rw-r--r--package/collectd/collectd.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/collectd/collectd.mk b/package/collectd/collectd.mk
index b9422f3a9c..4846ee4cb2 100644
--- a/package/collectd/collectd.mk
+++ b/package/collectd/collectd.mk
@@ -180,7 +180,7 @@ endef
COLLECTD_POST_PATCH_HOOKS += COLLECTD_DROP_WERROR
define COLLECTD_INSTALL_TARGET_CMDS
- $(MAKE) DESTDIR=$(TARGET_DIR) -C $(@D) install
+ $(TARGET_MAKE_ENV) $(MAKE) DESTDIR=$(TARGET_DIR) -C $(@D) install
rm -f $(TARGET_DIR)/usr/bin/collectd-nagios
rm -f $(TARGET_DIR)/usr/share/collectd/postgresql_default.conf
endef