From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] webkitgtk24: fix building with rpi egl/gles
Date: Tue, 9 Feb 2016 11:45:33 +0100 [thread overview]
Message-ID: <20160209114533.159871e2@free-electrons.com> (raw)
In-Reply-To: <1454971920-18533-1-git-send-email-gustavo@zacarias.com.ar>
Dear Gustavo Zacarias,
On Mon, 8 Feb 2016 19:52:00 -0300, Gustavo Zacarias wrote:
> It needs special handling for the additional include fixes. Fixes:
> http://autobuild.buildroot.net/results/083/083ce94b1ac61a60aa16906336612af59e32b18b/
>
> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
> ---
> package/webkitgtk24/webkitgtk24.mk | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/package/webkitgtk24/webkitgtk24.mk b/package/webkitgtk24/webkitgtk24.mk
> index 8a831d9..07927ac 100644
> --- a/package/webkitgtk24/webkitgtk24.mk
> +++ b/package/webkitgtk24/webkitgtk24.mk
> @@ -69,6 +69,13 @@ WEBKITGTK24_CONF_OPTS += \
> --enable-webgl \
> --disable-glx
> WEBKITGTK24_DEPENDENCIES += libegl libgles
> +# RPi EGL/GLES needs special handling
> +ifeq ($(BR2_PACKAGE_RPI_USERLAND),y)
> +WEBKITGTK24_CONF_ENV += CPPFLAGS="$(TARGET_CPPFLAGS) \
> + -I$(STAGING_DIR)/usr/include/interface/vcos/pthreads \
> + -I$(STAGING_DIR)/usr/include/interface/vmcs_host/linux" \
> + LIBS="-lvcos -lvchostif"
> +endif
Isn't it possible to use pkg-config ? We install egl.pc and glesv2.pc
from all our OpenGL implementations specifically for this reason.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2016-02-09 10:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-08 22:52 [Buildroot] [PATCH] webkitgtk24: fix building with rpi egl/gles Gustavo Zacarias
2016-02-09 10:45 ` Thomas Petazzoni [this message]
2016-02-09 13:18 ` Gustavo Zacarias
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=20160209114533.159871e2@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