mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
package/pkg-luarocks: add per package upgrade target
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
38c55bfb31
commit
f5c6d238cf
@ -72,6 +72,12 @@ endif
|
|||||||
# make targets
|
# make targets
|
||||||
$(call inner-generic-package,$(1),$(2),$(3),$(4))
|
$(call inner-generic-package,$(1),$(2),$(3),$(4))
|
||||||
|
|
||||||
|
# Upgrade helper
|
||||||
|
$(1)-upgrade: host-luarocks
|
||||||
|
$$(LUAROCKS_RUN_CMD) buildroot $$($(2)_NAME_UPSTREAM) $(1)
|
||||||
|
|
||||||
|
.PHONY: $(1)-upgrade
|
||||||
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
|
Loading…
x
Reference in New Issue
Block a user