mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-03 16:37:43 +00:00
infra: add to luarocks support for top-level parallel make
The host-luarock dependency is not always satisfied for the extract phase because the %-extract target is not anymore in the dependency chain. To be sure that the dependency is satisfied add the dependency to the stamp file $(%_TARGET_EXTRACT) instead of the %-extract target. Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Cc: Francois Perrad <fperrad@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
a6b5b8c676
commit
207d2acf6b
@ -43,10 +43,6 @@ $(2)_SITE ?= $(call qstrip,$(BR2_LUAROCKS_MIRROR))
|
|||||||
# a target package, and can just add the required dependencies
|
# a target package, and can just add the required dependencies
|
||||||
$(2)_DEPENDENCIES += host-luarocks luainterpreter
|
$(2)_DEPENDENCIES += host-luarocks luainterpreter
|
||||||
|
|
||||||
# $(2)_DEPENDENCIES are handled for configure step (too late)
|
|
||||||
# but host-luarocks is required to do the extract
|
|
||||||
$(1)-extract: host-luarocks
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Extract step
|
# Extract step
|
||||||
#
|
#
|
||||||
@ -71,6 +67,10 @@ endif
|
|||||||
# make targets
|
# make targets
|
||||||
$(call inner-generic-package,$(1),$(2),$(3),$(4))
|
$(call inner-generic-package,$(1),$(2),$(3),$(4))
|
||||||
|
|
||||||
|
# $(2)_DEPENDENCIES are handled for configure step (too late)
|
||||||
|
# but host-luarocks is required to do the extract
|
||||||
|
$$($(2)_TARGET_EXTRACT): | host-luarocks
|
||||||
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
|
Loading…
x
Reference in New Issue
Block a user