[Buildroot] [git commit] duma: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sat Oct 15 12:18:02 UTC 2016
commit: https://git.buildroot.net/buildroot/commit/?id=23a9d0384a7e1fe495c5f24031a3fbef8745f030
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Gustavo Zacarias <gustavo.zacarias at free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
package/duma/duma.mk | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/package/duma/duma.mk b/package/duma/duma.mk
index 5e862ab..a8348b9 100644
--- a/package/duma/duma.mk
+++ b/package/duma/duma.mk
@@ -18,18 +18,18 @@ DUMA_OPTIONS = \
# The dependency of some source files in duma_config.h, which is generated at
# build time, is not specified in the Makefile. Force non-parallel build.
define DUMA_BUILD_CMDS
- $(MAKE1) $(TARGET_CONFIGURE_OPTS) \
+ $(TARGET_MAKE_ENV) $(MAKE1) $(TARGET_CONFIGURE_OPTS) \
OS=linux \
DUMA_OPTIONS="$(DUMA_OPTIONS)" \
$(DUMA_CPP) -C $(@D)
endef
define DUMA_INSTALL_STAGING_CMDS
- $(MAKE) OS=linux prefix=$(STAGING_DIR)/usr install -C $(@D)
+ $(TARGET_MAKE_ENV) $(MAKE) OS=linux prefix=$(STAGING_DIR)/usr install -C $(@D)
endef
define DUMA_INSTALL_TARGET_CMDS
- $(MAKE) OS=linux prefix=$(TARGET_DIR)/usr install -C $(@D)
+ $(TARGET_MAKE_ENV) $(MAKE) OS=linux prefix=$(TARGET_DIR)/usr install -C $(@D)
endef
$(eval $(generic-package))
More information about the buildroot
mailing list