From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] gst1-imx: add menuconfig to select each plugin individually
Date: Tue, 20 Sep 2016 21:04:25 +0200 [thread overview]
Message-ID: <20160920210425.1ca82f17@free-electrons.com> (raw)
In-Reply-To: <20160916131038.23240-1-gary.bisson@boundarydevices.com>
Hello Gary,
On Fri, 16 Sep 2016 15:10:38 +0200, Gary Bisson wrote:
> Also making each plugin dependencies clearer with comments.
>
> Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
> ---
> package/gstreamer1/gst1-imx/Config.in | 89 ++++++++++++++++++++++++++++-----
> package/gstreamer1/gst1-imx/gst1-imx.mk | 32 ++++++++++++
> 2 files changed, 108 insertions(+), 13 deletions(-)
Thanks for the patch. I have a few questions/comments, see below.
> +config BR2_PACKAGE_GST1_IMX_EGLVISINK
> + bool "imxeglvivsink"
> + depends on BR2_PACKAGE_IMX_GPU_VIV
> + help
> + Elements leveraging the 3D GPU
Instead of doing "depends on" everywhere, can we use "select" in the
cases where the dependencies of the package to select are not too
crazy ?
> +ifneq ($(BR2_PACKAGE_GST1_IMX_EGLVISINK),y)
> +GST1_IMX_CONF_OPTS += --disable-eglvivsink
> +endif
For all those options, please use the standard Buildroot way of
expressing dependencies:
ifeq ($(BR2_PACKAGE_FOO),y)
BAZ_CONF_OPTS += --enable-foo
BAZ_DEPENDENCIES += foo
else
BAZ_CONF_OPTS += --disable-foo
endif
i.e:
1/ Add an explicit --enable-<foo> for each option
2/ Group the --enable/--disable passing with the addition of the
dependency
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
next prev parent reply other threads:[~2016-09-20 19:04 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-16 13:10 [Buildroot] [PATCH] gst1-imx: add menuconfig to select each plugin individually Gary Bisson
2016-09-20 19:04 ` Thomas Petazzoni [this message]
2016-09-20 22:43 ` Gary Bisson
2016-09-21 4:02 ` Thomas Petazzoni
2016-09-21 8:32 ` Gary Bisson
2016-09-21 9:03 ` Thomas Petazzoni
2016-09-22 21:51 ` Arnout Vandecappelle
2016-09-23 12:58 ` Gary Bisson
2016-09-23 13:13 ` Thomas Petazzoni
2016-09-23 13:40 ` Gary Bisson
2016-09-23 14:25 ` Thomas Petazzoni
2016-09-23 14:29 ` Gary Bisson
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=20160920210425.1ca82f17@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox