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>
This commit is contained in:
parent
943f0219cc
commit
781808d6d7
|
@ -22,11 +22,11 @@ endef
|
||||||
MII_DIAG_POST_PATCH_HOOKS = MII_DIAG_DEBIAN_PATCHES
|
MII_DIAG_POST_PATCH_HOOKS = MII_DIAG_DEBIAN_PATCHES
|
||||||
|
|
||||||
define MII_DIAG_BUILD_CMDS
|
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
|
endef
|
||||||
|
|
||||||
define MII_DIAG_INSTALL_TARGET_CMDS
|
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
|
endef
|
||||||
|
|
||||||
$(eval $(generic-package))
|
$(eval $(generic-package))
|
||||||
|
|
Loading…
Reference in a new issue