perl: use $(HOST_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:
Gustavo Zacarias 2016-10-28 10:18:25 -03:00 committed by Thomas Petazzoni
parent 2072c96eec
commit 57711efbe8

View File

@ -104,15 +104,16 @@ HOST_PERL_CONF_OPTS = \
-Dcc="$(HOSTCC)" -Dcc="$(HOSTCC)"
define HOST_PERL_CONFIGURE_CMDS define HOST_PERL_CONFIGURE_CMDS
(cd $(@D); HOSTCC='$(HOSTCC_NOCCACHE)' ./Configure $(HOST_PERL_CONF_OPTS)) (cd $(@D); $(HOST_MAKE_ENV) HOSTCC='$(HOSTCC_NOCCACHE)' \
./Configure $(HOST_PERL_CONF_OPTS))
endef endef
define HOST_PERL_BUILD_CMDS define HOST_PERL_BUILD_CMDS
$(MAKE) -C $(@D) $(HOST_MAKE_ENV) $(MAKE) -C $(@D)
endef endef
define HOST_PERL_INSTALL_CMDS define HOST_PERL_INSTALL_CMDS
$(MAKE) -C $(@D) INSTALL_DEPENDENCE='' install $(HOST_MAKE_ENV) $(MAKE) -C $(@D) INSTALL_DEPENDENCE='' install
endef endef
$(eval $(generic-package)) $(eval $(generic-package))