mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-30 06:36:34 +00:00
duma: 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
98d693e478
commit
23a9d0384a
@ -18,18 +18,18 @@ DUMA_OPTIONS = \
|
|||||||
# The dependency of some source files in duma_config.h, which is generated at
|
# 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.
|
# build time, is not specified in the Makefile. Force non-parallel build.
|
||||||
define DUMA_BUILD_CMDS
|
define DUMA_BUILD_CMDS
|
||||||
$(MAKE1) $(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_MAKE_ENV) $(MAKE1) $(TARGET_CONFIGURE_OPTS) \
|
||||||
OS=linux \
|
OS=linux \
|
||||||
DUMA_OPTIONS="$(DUMA_OPTIONS)" \
|
DUMA_OPTIONS="$(DUMA_OPTIONS)" \
|
||||||
$(DUMA_CPP) -C $(@D)
|
$(DUMA_CPP) -C $(@D)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define DUMA_INSTALL_STAGING_CMDS
|
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
|
endef
|
||||||
|
|
||||||
define DUMA_INSTALL_TARGET_CMDS
|
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
|
endef
|
||||||
|
|
||||||
$(eval $(generic-package))
|
$(eval $(generic-package))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user