From f5c6d238cfd64a14aab94b3531cb428d01cec4a1 Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Wed, 19 Dec 2018 09:17:07 +0100 Subject: [PATCH] package/pkg-luarocks: add per package upgrade target Signed-off-by: Francois Perrad Signed-off-by: Thomas Petazzoni --- package/pkg-luarocks.mk | 6 ++++++ 1 file changed, 6 insertions(+) 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 ################################################################################ -- 2.30.2