aboutsummaryrefslogtreecommitdiff
path: root/package/axel/axel.mk
diff options
context:
space:
mode:
authorGravatar Gustavo Zacarias <gustavo.zacarias@free-electrons.com>2016-10-17 13:06:40 -0300
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-10-22 15:19:24 +0200
commit4e1c87bdb1037a9918bb3d521ca7b5c47ee3eeec (patch)
treecd92219bb7d5de982fde4fe186f6b8ce7f4e13c5 /package/axel/axel.mk
parent15c229ea4232e052063a65f9f57153ba1ba0579b (diff)
downloadbuildroot-4e1c87bdb1037a9918bb3d521ca7b5c47ee3eeec.tar.gz
buildroot-4e1c87bdb1037a9918bb3d521ca7b5c47ee3eeec.tar.bz2
axel: 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/axel/axel.mk')
-rw-r--r--package/axel/axel.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/axel/axel.mk b/package/axel/axel.mk
index 25357a379b..6cf0fa8d75 100644
--- a/package/axel/axel.mk
+++ b/package/axel/axel.mk
@@ -31,12 +31,12 @@ define AXEL_CONFIGURE_CMDS
endef
define AXEL_BUILD_CMDS
- $(MAKE) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \
+ $(TARGET_MAKE_ENV) $(MAKE) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \
LFLAGS="$(TARGET_LDFLAGS) $(AXEL_LDFLAGS)" -C $(@D)
endef
define AXEL_INSTALL_TARGET_CMDS
- $(MAKE) DESTDIR=$(TARGET_DIR) -C $(@D) install
+ $(TARGET_MAKE_ENV) $(MAKE) DESTDIR=$(TARGET_DIR) -C $(@D) install
endef
$(eval $(generic-package))