projects
/
buildroot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38c55bf
)
package/pkg-luarocks: add per package upgrade target
author
Francois Perrad
<fperrad@gmail.com>
Wed, 19 Dec 2018 08:17:07 +0000
(09:17 +0100)
committer
Thomas Petazzoni
<thomas.petazzoni@bootlin.com>
Mon, 31 Dec 2018 16:46:11 +0000
(17:46 +0100)
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/pkg-luarocks.mk
patch
|
blob
|
history
diff --git
a/package/pkg-luarocks.mk
b/package/pkg-luarocks.mk
index f0985433b76d334a71d932cd8833c4f91271afab..78d6c325f8b44b804e424efdbab75d0b8adfa6a2 100644
(file)
--- 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
################################################################################