package/pkg-luarocks.mk: prepare infrastructure for host package support
authorFrancois Perrad <fperrad@gmail.com>
Sun, 22 Mar 2020 08:07:03 +0000 (09:07 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 12 Apr 2020 09:02:59 +0000 (11:02 +0200)
commit052629291449147ff18dc6ff63a94f043ea4aadf
tree1a25ef3a230e868a12a4e7fa43b73ce323d85c47
parent93921244386311a2fcce8fd4dde4a994c3823b16
package/pkg-luarocks.mk: prepare infrastructure for host package support

In preparation for the introduction of support for host Luarocks
packages, this commit reworks the luarocks-package infrastructure:

 - A number of variables that were defined in
   package/luarocks/luarocks-br-config.lua are now passed on the
   luarocks command line in $(2)_INSTALL_TARGET_CMDS in
   pkg-luarocks.mk.

 - The LUAROCKS_CFLAGS logic is moved from
   package/luarocks/luarocks.mk to package/pkg-luarocks.mk.

 - The LUAROCKS_RUN_ENV variable is no longer needed, as all details
   are now passed on the luarocks command line in pkg-luarocks.mk.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/luarocks/luarocks-br-config.lua
package/luarocks/luarocks.mk
package/pkg-luarocks.mk