mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-26 04:36:33 +00:00
libsemanage: 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
9fc51ef91b
commit
9702249d98
@ -16,15 +16,15 @@ LIBSEMANAGE_MAKE_OPTS = $(TARGET_CONFIGURE_OPTS)
|
|||||||
define LIBSEMANAGE_BUILD_CMDS
|
define LIBSEMANAGE_BUILD_CMDS
|
||||||
# DESTDIR is needed during the compile to compute library and
|
# DESTDIR is needed during the compile to compute library and
|
||||||
# header paths.
|
# header paths.
|
||||||
$(MAKE) -C $(@D) $(LIBSEMANAGE_MAKE_OPTS) DESTDIR=$(STAGING_DIR) all
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(LIBSEMANAGE_MAKE_OPTS) DESTDIR=$(STAGING_DIR) all
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define LIBSEMANAGE_INSTALL_STAGING_CMDS
|
define LIBSEMANAGE_INSTALL_STAGING_CMDS
|
||||||
$(MAKE) -C $(@D) $(LIBSEMANAGE_MAKE_OPTS) DESTDIR=$(STAGING_DIR) install
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(LIBSEMANAGE_MAKE_OPTS) DESTDIR=$(STAGING_DIR) install
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define LIBSEMANAGE_INSTALL_TARGET_CMDS
|
define LIBSEMANAGE_INSTALL_TARGET_CMDS
|
||||||
$(MAKE) -C $(@D) $(LIBSEMANAGE_MAKE_OPTS) DESTDIR=$(TARGET_DIR) install
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(LIBSEMANAGE_MAKE_OPTS) DESTDIR=$(TARGET_DIR) install
|
||||||
endef
|
endef
|
||||||
|
|
||||||
HOST_LIBSEMANAGE_DEPENDENCIES = host-bison host-audit host-libsepol host-libselinux \
|
HOST_LIBSEMANAGE_DEPENDENCIES = host-bison host-audit host-libsepol host-libselinux \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user