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
|
||||
$(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
|
||||
|
||||
################################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user