Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Bernd Kuhls <bernd.kuhls@t-online.de>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 3/3] package/glmark2: fix selection of dependencies
Date: Sat, 13 Nov 2021 10:52:19 +0100	[thread overview]
Message-ID: <20211113095219.GO247986@scaer> (raw)
In-Reply-To: <20211113093009.6915-3-bernd.kuhls@t-online.de>

Bernd, All,

On 2021-11-13 10:30 +0100, Bernd Kuhls spake thusly:
> Commit 9c068b4be8 (package/glmark2: fix wayland build) extended the set
> of required libraries for various "flavor" options by selecting those
> libraries from the blind options.
> 
> However, that option is true as soon as the requirements are met (the
> depends on), even when glmark2 itself is not enabled.
> 
> This means that extra libraries are pulled in to the build, even when
> not required.
> 
> We fix that by moving the actual selects to the main symbol, along with
> the proper conditions. This means that we have two lines that select
> wayland-protocols, under two different conditions; we could make that a
> single select, but the codition would need to be on two lines anyway,
> so meh...
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>

Aha! I see you re-used my previous commit as-is. You even kept all my
typoes! ;-)

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
> Requested by Yann:
> http://lists.busybox.net/pipermail/buildroot/2021-November/628389.html
> 
>  package/glmark2/Config.in | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/package/glmark2/Config.in b/package/glmark2/Config.in
> index 6761397d3f..5897ccb3ff 100644
> --- a/package/glmark2/Config.in
> +++ b/package/glmark2/Config.in
> @@ -27,7 +27,6 @@ config BR2_PACKAGE_GLMARK2_FLAVOR_WAYLAND_GLESV2
>  	depends on BR2_PACKAGE_HAS_LIBGLES
>  	depends on BR2_PACKAGE_WAYLAND
>  	select BR2_PACKAGE_GLMARK2_FLAVOR_ANY
> -	select BR2_PACKAGE_WAYLAND_PROTOCOLS
>  
>  config BR2_PACKAGE_GLMARK2_FLAVOR_WAYLAND_GL
>  	bool
> @@ -36,7 +35,6 @@ config BR2_PACKAGE_GLMARK2_FLAVOR_WAYLAND_GL
>  	depends on BR2_PACKAGE_HAS_LIBGL
>  	depends on BR2_PACKAGE_WAYLAND
>  	select BR2_PACKAGE_GLMARK2_FLAVOR_ANY
> -	select BR2_PACKAGE_WAYLAND_PROTOCOLS
>  
>  config BR2_PACKAGE_GLMARK2_FLAVOR_X11_GLESV2
>  	bool
> @@ -68,6 +66,8 @@ config BR2_PACKAGE_GLMARK2
>  	select BR2_PACKAGE_JPEG
>  	select BR2_PACKAGE_LIBDRM if BR2_PACKAGE_GLMARK2_FLAVOR_DRM_GLESV2
>  	select BR2_PACKAGE_LIBPNG
> +	select BR2_PACKAGE_WAYLAND_PROTOCOLS if BR2_PACKAGE_GLMARK2_FLAVOR_WAYLAND_GL
> +	select BR2_PACKAGE_WAYLAND_PROTOCOLS if BR2_PACKAGE_GLMARK2_FLAVOR_WAYLAND_GLESV2
>  	help
>  	  glmark2 is an OpenGL 2.0 and ES 2.0 benchmark.
>  
> -- 
> 2.30.2
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2021-11-13  9:52 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-13  9:30 [Buildroot] [PATCH v2 1/3] package/glmark2: drm-glesv2 needs libdrm Bernd Kuhls
2021-11-13  9:30 ` [Buildroot] [PATCH v2 2/3] package/glmark2: drm-glesv2 needs libgbm Bernd Kuhls
2021-11-13  9:53   ` Yann E. MORIN
2021-11-17 22:01   ` Peter Korsgaard
     [not found]   ` <87h7catpaz.fsf__1784.76354792423$1637186493$gmane$org@dell.be.48ers.dk>
2021-11-18  6:30     ` Bernd Kuhls
2021-11-13  9:30 ` [Buildroot] [PATCH 3/3] package/glmark2: fix selection of dependencies Bernd Kuhls
2021-11-13  9:52   ` Yann E. MORIN [this message]
2021-11-17 21:59   ` Peter Korsgaard
2021-11-13  9:53 ` [Buildroot] [PATCH v2 1/3] package/glmark2: drm-glesv2 needs libdrm Yann E. MORIN
2021-11-17 22:00 ` Peter Korsgaard

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=20211113095219.GO247986@scaer \
    --to=yann.morin.1998@free.fr \
    --cc=bernd.kuhls@t-online.de \
    --cc=buildroot@buildroot.org \
    /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