From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 1/1] linuxconsoletools: new package
Date: Mon, 19 Jun 2017 21:44:58 +0200 [thread overview]
Message-ID: <20170619214458.7fe41175@windsurf.home> (raw)
In-Reply-To: <201706191656.v5JGuLc9093352@mx1.sonologic.net>
Hello,
On Mon, 19 Jun 2017 18:55:06 +0200, Koen Martens wrote:
> Linuxconsoletools contains the inputattach utility
> to attach legacy serial devices to the Linux kernel
> input layer and joystick utilities to calibrate and
> test joysticks and joypads.
>
> The buildroot package adds options to build only certain
> tools.
>
> website: http://sf.net/projects/linuxconsole/
>
> Signed-off-by: Koen Martens <gmc@sonologic.nl>
Thanks, I've applied, after doing a few minor tweaks. See below.
> diff --git a/package/linuxconsoletools/Config.in b/package/linuxconsoletools/Config.in
> new file mode 100644
> index 0000000..08a4af3
> --- /dev/null
> +++ b/package/linuxconsoletools/Config.in
> @@ -0,0 +1,34 @@
> +config BR2_PACKAGE_LINUXCONSOLETOOLS
> + bool "linuxconsoletools"
> + default n
There was still a useless "default n" here, so I've dropped.
> + help
> + Linuxconsoletools contains the inputattach utility
> + to attach legacy serial devices to the Linux kernel
> + input layer and joystick utilities to calibrate and
> + test joysticks and joypads.
> +
There was a trailing tab character on this line, which I dropped.
> + http://sf.net/projects/linuxconsole/
> +ifeq ($(BR2_PACKAGE_LINUXCONSOLETOOLS_FORCEFEEDBACK),y)
> +LINUXCONSOLETOOLS_MAKE_OPTS += ENABLE_FORCEFEEDBACK=1
> +LINUXCONSOLETOOLS_MAKE_OPTS += SDL_CONFIG=$(STAGING_DIR)/usr/bin/sdl-config
I've put these in a single assignment:
+LINUXCONSOLETOOLS_MAKE_OPTS += \
+ ENABLE_FORCEFEEDBACK=1 \
+ SDL_CONFIG=$(STAGING_DIR)/usr/bin/sdl-config
> +LINUXCONSOLETOOLS_DEPENDENCIES += sdl
> +endif
> +
> +LINUXCONSOLETOOLS_MAKE_OPTS += CC=$(TARGET_CC)
> +LINUXCONSOLETOOLS_MAKE_OPTS += CFLAGS="$(TARGET_CFLAGS)"
Both of those lines are not needed: CC and CFLAGS are already part of
$(TARGET_CONFIGURE_OPTS), which you pass in the build and install
commands.
Committed with those minor issues fixed. Thanks a lot for this
contribution!
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
next prev parent reply other threads:[~2017-06-19 19:44 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-19 16:55 [Buildroot] [PATCH v2 1/1] linuxconsoletools: new package Koen Martens
2017-06-19 19:44 ` Thomas Petazzoni [this message]
2017-06-19 19:51 ` Koen Martens
2017-06-19 20:08 ` Thomas Petazzoni
2017-06-20 12:08 ` Peter Korsgaard
2017-06-20 12:48 ` Koen Martens
2017-06-20 13:05 ` Thomas Petazzoni
2017-06-20 13:19 ` Peter Korsgaard
2017-06-20 13:35 ` Thomas Petazzoni
2017-06-20 18:35 ` Koen Martens
2017-06-20 19:02 ` Koen Martens
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=20170619214458.7fe41175@windsurf.home \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox