mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-30 14:46:31 +00:00
zip: 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
1889786650
commit
7073047608
@ -27,14 +27,14 @@ ZIP_TARGET_CFLAGS = \
|
|||||||
$(filter-out -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE,$(TARGET_CFLAGS))
|
$(filter-out -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE,$(TARGET_CFLAGS))
|
||||||
|
|
||||||
define ZIP_BUILD_CMDS
|
define ZIP_BUILD_CMDS
|
||||||
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \
|
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \
|
||||||
CFLAGS="$(ZIP_TARGET_CFLAGS) $(ZIP_CFLAGS)" \
|
CFLAGS="$(ZIP_TARGET_CFLAGS) $(ZIP_CFLAGS)" \
|
||||||
AS="$(TARGET_CC) -c" \
|
AS="$(TARGET_CC) -c" \
|
||||||
-f unix/Makefile generic
|
-f unix/Makefile generic
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define ZIP_INSTALL_TARGET_CMDS
|
define ZIP_INSTALL_TARGET_CMDS
|
||||||
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) -f unix/Makefile install \
|
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) -f unix/Makefile install \
|
||||||
prefix=$(TARGET_DIR)/usr
|
prefix=$(TARGET_DIR)/usr
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user