From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 1/1] package/linuxconsoletools: bump version to 1.7.0
Date: Mon, 18 Nov 2019 22:38:53 +0100 [thread overview]
Message-ID: <20191118223853.64c89953@windsurf.home> (raw)
In-Reply-To: <20191117135913.GD13372@coltrane>
Hello Koen,
Thanks for your contribution and this new version of your patch!
On Sun, 17 Nov 2019 14:59:13 +0100
Koen Martens <gmc@sonologic.nl> wrote:
> This version changed the (optional) dependency from sdl and
> sdl-config to sdl2 and pkg-config. Therefore, the patch that
> provided the correct path to sdl-config has been dropped and
> the dependency has been changed to BR2_PACKAGE_SDL2.
>
> Somehow, SDL2 fails to build without shared library support,
> but this is not explicitly depended on by SDL2,
I don't understand why you say that, because:
config BR2_PACKAGE_SDL2
bool "sdl2"
depends on !BR2_STATIC_LIBS
> therefore
> a dependency to BR2_SHARED_LIBS was added to the force-
> feedback utility configuration option.
The reason you have to do this is because a "select" is "stronger" than
a "depends on", so if you "select BR2_PACKAGE_SDL2", the depends on of
BR2_PACKAGE_SDL2 on !BR2_STATIC_LIBS is ignored, and that's why you
have to replicate this depends on !BR2_STATIC_LIBS.
> -LINUXCONSOLETOOLS_VERSION = 1.6.1
> +LINUXCONSOLETOOLS_VERSION = 1.7.0
> LINUXCONSOLETOOLS_SOURCE = linuxconsoletools-$(LINUXCONSOLETOOLS_VERSION).tar.bz2
> LINUXCONSOLETOOLS_SITE = https://downloads.sourceforge.net/project/linuxconsole
> LINUXCONSOLETOOLS_LICENSE = GPL-2.0+
> @@ -21,8 +21,8 @@ endif
> ifeq ($(BR2_PACKAGE_LINUXCONSOLETOOLS_FORCEFEEDBACK),y)
> LINUXCONSOLETOOLS_MAKE_OPTS += \
> ENABLE_FORCEFEEDBACK=1 \
> - SDL_CONFIG=$(STAGING_DIR)/usr/bin/sdl-config
> -LINUXCONSOLETOOLS_DEPENDENCIES += sdl
> + CFLAGS="--std=gnu99"
This looks wrong because you're no longer passing TARGET_CFLAGS, so
this should be:
CFLAGS="$(TARGET_CFLAGS) -std=gnu99"
(I think the option is -std, not --std).
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2019-11-18 21:38 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-17 13:59 [Buildroot] [PATCH v2 1/1] package/linuxconsoletools: bump version to 1.7.0 Koen Martens
2019-11-18 21:38 ` Thomas Petazzoni [this message]
[not found] ` <20191119064433.GB32125@coltrane>
2019-11-19 8:12 ` Thomas Petazzoni
2019-11-19 9:49 ` Koen Martens
2019-11-19 20:01 ` Koen Martens
2019-11-18 21:39 ` Thomas Petazzoni
2019-11-19 6:42 ` Koen Martens
2019-11-19 8:10 ` Thomas Petazzoni
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=20191118223853.64c89953@windsurf.home \
--to=thomas.petazzoni@bootlin.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