mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 22:26:31 +00:00
perl: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
0ccc376bc4
commit
2072c96eec
@ -81,20 +81,21 @@ PERL_CONF_OPTS += --only-mod=$(subst $(space),$(comma),$(PERL_MODULES))
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
define PERL_CONFIGURE_CMDS
|
define PERL_CONFIGURE_CMDS
|
||||||
(cd $(@D); HOSTCC='$(HOSTCC_NOCCACHE)' ./configure $(PERL_CONF_OPTS))
|
(cd $(@D); $(TARGET_MAKE_ENV) HOSTCC='$(HOSTCC_NOCCACHE)' \
|
||||||
|
./configure $(PERL_CONF_OPTS))
|
||||||
$(SED) 's/UNKNOWN-/Buildroot $(BR2_VERSION_FULL) /' $(@D)/patchlevel.h
|
$(SED) 's/UNKNOWN-/Buildroot $(BR2_VERSION_FULL) /' $(@D)/patchlevel.h
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define PERL_BUILD_CMDS
|
define PERL_BUILD_CMDS
|
||||||
$(MAKE1) -C $(@D) all
|
$(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) all
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define PERL_INSTALL_STAGING_CMDS
|
define PERL_INSTALL_STAGING_CMDS
|
||||||
$(MAKE1) -C $(@D) DESTDIR="$(STAGING_DIR)" install.perl
|
$(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) DESTDIR="$(STAGING_DIR)" install.perl
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define PERL_INSTALL_TARGET_CMDS
|
define PERL_INSTALL_TARGET_CMDS
|
||||||
$(MAKE1) -C $(@D) DESTDIR="$(TARGET_DIR)" install.perl
|
$(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) DESTDIR="$(TARGET_DIR)" install.perl
|
||||||
endef
|
endef
|
||||||
|
|
||||||
HOST_PERL_CONF_OPTS = \
|
HOST_PERL_CONF_OPTS = \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user