Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/2] package/cegui: force libglew when libepoxy is also enabled
Date: Wed, 29 Apr 2020 22:50:42 +0200	[thread overview]
Message-ID: <20200429225042.65fcccd0@windsurf.home> (raw)
In-Reply-To: <20200428195844.48124-1-b.bilas@grinn-global.com>

On Tue, 28 Apr 2020 21:58:43 +0200
Bartosz Bilas <b.bilas@grinn-global.com> wrote:

> Cegui doesn't allow to have enabled both opengl libraries so disable
> libepoxy when both are enabled.
> 
> Fixes:
>   - http://autobuild.buildroot.net/results/2881bbcc2dcfcaa5ed663817ff39f7574430ba5a/build-end.log
> 
> Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
> ---
>  package/cegui/cegui.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/package/cegui/cegui.mk b/package/cegui/cegui.mk
> index 434201b1f8..0e3d015948 100644
> --- a/package/cegui/cegui.mk
> +++ b/package/cegui/cegui.mk
> @@ -18,7 +18,7 @@ CEGUI_DEPENDENCIES = glm \
>  		$(if $(BR2_PACKAGE_LIBGLEW),libglew) \
>  		$(if $(BR2_PACKAGE_LIBICONV),libiconv)
>  
> -ifeq ($(BR2_PACKAGE_LIBEPOXY),y)
> +ifeq ($(BR2_PACKAGE_LIBEPOXY)$(BR2_PACKAGE_LIBGLEW),y)

This way of solving the problem doesn't work: if BR2_PACKAGE_LIBEPOXY
is false, but BR2_PACKAGE_LIBGLEW=y, then the condition is true, and we
add a dependency on libepoxy. Not what we want. So I've replaced with

+# libepoxy support cannot be enabled together with libglew
+ifeq ($(BR2_PACKAGE_LIBEPOXY):$(BR2_PACKAGE_LIBGLEW),y:)

instead.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

  parent reply	other threads:[~2020-04-29 20:50 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-28 19:58 [Buildroot] [PATCH 1/2] package/cegui: force libglew when libepoxy is also enabled Bartosz Bilas
2020-04-28 19:58 ` [Buildroot] [PATCH 2/2] package/cegui: select libglu when libgl is detected Bartosz Bilas
2020-04-29 20:53   ` Thomas Petazzoni
2020-04-30 19:54     ` Bartosz Bilas
2020-05-02  9:39       ` Thomas Petazzoni
2020-05-03 17:15       ` Bernd Kuhls
2020-05-03 17:16   ` Bernd Kuhls
2020-05-09  8:28     ` Bartosz Bilas
2020-05-17 20:18       ` Bartosz Bilas
2020-04-29 20:50 ` Thomas Petazzoni [this message]
2020-04-30 19:50   ` [Buildroot] [PATCH 1/2] package/cegui: force libglew when libepoxy is also enabled Bartosz Bilas

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=20200429225042.65fcccd0@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