From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [UNSURE]Issue with the luarocks infra and legal-info
Date: Sat, 1 Mar 2014 19:41:46 +0100 [thread overview]
Message-ID: <20140301194146.4814ee45@skate> (raw)
In-Reply-To: <CAB0FRsvJNxpkSMYjhnLAC2i91iXF-BwJKg4-PTCy4bYWY6ULEQ@mail.gmail.com>
Dear Fran?ois Perrad,
On Sat, 1 Mar 2014 19:23:56 +0100, Fran?ois Perrad wrote:
> Before the Luarocks infrastructure, only native Lua modules have an
> explicit dependency with luainterpreter.
> With the Luarocks infrastructure, all Lua modules need an implicit
> dependency with luainterpreter (we don't need to split native and pure
> Lua module cases).
Right, but most likely this dependency on the target Lua interpreter is
only need before *building* Lua modules, not before *extracting* Lua
modules. Which is, if I understood correctly, what you propose below.
> These is done in 2 places :
> in http://git.buildroot.net/buildroot/tree/package/pkg-luarocks.mk#n44 with
> $(2)_DEPENDENCIES += host-luarocks luainterpreter
> in http://git.buildroot.net/buildroot/tree/package/luarocks/luarocks.mk#n12
> HOST_LUAROCKS_DEPENDENCIES = host-lua luainterpreter
>
> The good place is the first one. So, you could write :
> HOST_LUAROCKS_DEPENDENCIES = host-lua
> and perhaps soon with the first virtual host package :
> HOST_LUAROCKS_DEPENDENCIES = host-luainterpreter
Right. It's still a bit annoying to have to build host-luarocks and
host-lua to do 'make legal-info', but it's certainly a lot more
reasonable that having to build the toolchain :-)
Could you integrate a patch that does this simplification in the next
version of your Lua improvements?
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
prev parent reply other threads:[~2014-03-01 18:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-01 15:50 [Buildroot] Issue with the luarocks infra and legal-info Thomas Petazzoni
2014-03-01 18:23 ` [Buildroot] [UNSURE]Issue " François Perrad
2014-03-01 18:41 ` Thomas Petazzoni [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140301194146.4814ee45@skate \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.