From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/turbolua: new package
Date: Fri, 1 Apr 2016 04:08:00 +0200 [thread overview]
Message-ID: <20160401040800.759d3e8e@free-electrons.com> (raw)
In-Reply-To: <1458228459-2401-1-git-send-email-m.niestroj@grinn-global.com>
Hello Marcin,
This looks really good, I only have a few minor comments/questions. In
fact, if I didn't had that question about thumb2, I would have
applied :)
On Thu, 17 Mar 2016 16:27:39 +0100, Marcin Niestroj wrote:
> diff --git a/package/turbolua/Config.in b/package/turbolua/Config.in
> new file mode 100644
> index 0000000..f42f4ca
> --- /dev/null
> +++ b/package/turbolua/Config.in
> @@ -0,0 +1,13 @@
> +config BR2_PACKAGE_TURBOLUA
> + bool "turbolua"
> + depends on BR2_PACKAGE_LUAJIT
> + depends on !BR2_ARM_INSTRUCTIONS_THUMB2
It would be good to add a comment above this line to explain why Thumb2
is excluded.
> + help
> + Turbo.lua is a framework built for LuaJIT 2 to simplify the task of
> + building fast and scalable network applications. It uses a
> + event-driven, non-blocking, no thread design to deliver excellent
> + performance and minimal footprint to high-load applications while
> + also providing excellent support for embedded uses. The toolkit can
> + be used for HTTP REST API?s, traditional dynamic web pages through
> + templating, open connections like WebSockets, or just as high level
> + building blocks for native speed network applications.
Please add an empty new line here, followed by the URL of the project
homepage.
> +define TURBOLUA_BUILD_CMDS
> + $(MAKE) CC="$(TARGET_CC)" LD="$(TARGET_LD)" \
Can you try to use $(TARGET_CONFIGURE_OPTS) instead of passing CC/LD ?
TARGET_CONFIGURE_OPTS will not only pass CC/LD, but also CFLAGS,
LDFLAGS and more.
> +define TURBOLUA_INSTALL_TARGET_CMDS
> + $(MAKE) CC="$(TARGET_CC)" LD="$(TARGET_LD)" LDCONFIG=true \
Same here.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2016-04-01 2:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-17 15:27 [Buildroot] [PATCH] package/turbolua: new package Marcin Niestroj
2016-04-01 2:08 ` Thomas Petazzoni [this message]
2016-04-02 21:27 ` Arnout Vandecappelle
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=20160401040800.759d3e8e@free-electrons.com \
--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.