aboutsummaryrefslogtreecommitdiff
path: root/package/mii-diag/mii-diag.mk
diff options
context:
space:
mode:
authorGravatar Gustavo Zacarias <gustavo.zacarias@free-electrons.com>2016-10-17 13:06:59 -0300
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-10-22 15:19:24 +0200
commit781808d6d79dd72b83f12c7d84f78140915a7188 (patch)
tree6e6b4ac7fd0f4a8c7ff78193d6508c820bf01c53 /package/mii-diag/mii-diag.mk
parent943f0219cc8981486403127ba0d22707579f0e5e (diff)
downloadbuildroot-781808d6d79dd72b83f12c7d84f78140915a7188.tar.gz
buildroot-781808d6d79dd72b83f12c7d84f78140915a7188.tar.bz2
mii-diag: 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/mii-diag/mii-diag.mk')
-rw-r--r--package/mii-diag/mii-diag.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/mii-diag/mii-diag.mk b/package/mii-diag/mii-diag.mk
index ae8defd9df..6efd5be80d 100644
--- a/package/mii-diag/mii-diag.mk
+++ b/package/mii-diag/mii-diag.mk
@@ -22,11 +22,11 @@ endef
MII_DIAG_POST_PATCH_HOOKS = MII_DIAG_DEBIAN_PATCHES
define MII_DIAG_BUILD_CMDS
- $(MAKE) $(MII_DIAG_MAKE_OPTS) -C $(@D) mii-diag
+ $(TARGET_MAKE_ENV) $(MAKE) $(MII_DIAG_MAKE_OPTS) -C $(@D) mii-diag
endef
define MII_DIAG_INSTALL_TARGET_CMDS
- $(MAKE) DESTDIR=$(TARGET_DIR) -C $(@D) install-mii-diag
+ $(TARGET_MAKE_ENV) $(MAKE) DESTDIR=$(TARGET_DIR) -C $(@D) install-mii-diag
endef
$(eval $(generic-package))