From: Francois Perrad Date: Wed, 19 Dec 2018 08:17:07 +0000 (+0100) Subject: package/pkg-luarocks: add per package upgrade target X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f5c6d238cfd64a14aab94b3531cb428d01cec4a1;p=buildroot.git package/pkg-luarocks: add per package upgrade target Signed-off-by: Francois Perrad Signed-off-by: Thomas Petazzoni --- diff --git a/package/pkg-luarocks.mk b/package/pkg-luarocks.mk index f0985433b7..78d6c325f8 100644 --- a/package/pkg-luarocks.mk +++ b/package/pkg-luarocks.mk @@ -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 ################################################################################