package/pkg-luarocks.mk: use custom luarocks config file
authorFrancois Perrad <francois.perrad@gadz.org>
Sun, 12 Apr 2020 12:00:43 +0000 (14:00 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 12 Apr 2020 12:48:18 +0000 (14:48 +0200)
commita850cdce5373408890a2b35de31db04963870143
tree7883b389e65733ea157ee60051fa4f7dbce89c7d
parentb522710337b81312f018c2eb122a87941fc685a2
package/pkg-luarocks.mk: use custom luarocks config file

In preparation for the addition of the support for host-luarocks
packages, this commit changes the luarocks logic to use a custom
configuration file in $(HOST_DIR)/etc/luarocks/config.lua instead of
the default
$(HOST_DIR)/etc/luarocks/config-$(LUAINTERPRETER_ABIVER).lua.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
[Thomas: extracted from a larger patch from François]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/luarocks/luarocks.mk
package/pkg-luarocks.mk