aboutsummaryrefslogtreecommitdiff
path: root/package/lshw
diff options
context:
space:
mode:
authorGravatar Gustavo Zacarias <gustavo.zacarias@free-electrons.com>2016-10-17 13:06:46 -0300
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-10-22 15:19:24 +0200
commitaa9ee8138f0c2c77edef100fbb8370ea7683dc5b (patch)
treed4845422dd821d9df2eded22f081e00d34b9b285 /package/lshw
parent047547d3a6c6e9c9afa68f1d6f4a2455eb9c5388 (diff)
downloadbuildroot-aa9ee8138f0c2c77edef100fbb8370ea7683dc5b.tar.gz
buildroot-aa9ee8138f0c2c77edef100fbb8370ea7683dc5b.tar.bz2
lshw: 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/lshw')
-rw-r--r--package/lshw/lshw.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/lshw/lshw.mk b/package/lshw/lshw.mk
index 9227584b15..32c0bc0d69 100644
--- a/package/lshw/lshw.mk
+++ b/package/lshw/lshw.mk
@@ -16,7 +16,9 @@ endif
LSHW_MAKE_OPTS = CC="$(TARGET_CC)" CXX="$(TARGET_CXX)" AR="$(TARGET_AR)" \
RPM_OPT_FLAGS="$(LSHW_CFLAGS)" all
-LSHW_MAKE_ENV = LIBS="$(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),-lintl)"
+LSHW_MAKE_ENV = \
+ $(TARGET_MAKE_ENV) \
+ LIBS="$(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),-lintl)"
LSHW_DEPENDENCIES = $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext)
define LSHW_BUILD_CMDS