From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/5] mesa: build statically because of DRI drivers
Date: Tue, 20 Sep 2011 08:43:02 +0200 [thread overview]
Message-ID: <20110920084302.771febcf@skate> (raw)
In-Reply-To: <3747c70f962d5b96288372a2ca369965c62a6bd2.1316465857.git.thomas.petazzoni@free-electrons.com>
Hello,
Of course, the title should be "mesa: don't build statically because of
DRI drivers". I will send an updated version once others will have
reviewed the patchset.
Regards,
Thomas
Le Mon, 19 Sep 2011 22:57:37 +0200,
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> a ?crit :
> The autotargets infrastructure now passes --enable-static to all
> packages. This works for most of them, except for Mesa:
>
> configure: error: Can't use static libraries for DRI drivers
> make[1]: *** [/home/test/outputs/mesa/build/mesa3d-7.6.1/.stamp_configured] Error 1
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
> package/x11r7/mesa3d/mesa3d.mk | 15 ++++++++++++++-
> 1 files changed, 14 insertions(+), 1 deletions(-)
>
> diff --git a/package/x11r7/mesa3d/mesa3d.mk b/package/x11r7/mesa3d/mesa3d.mk
> index cb0690d..21fc4cc 100644
> --- a/package/x11r7/mesa3d/mesa3d.mk
> +++ b/package/x11r7/mesa3d/mesa3d.mk
> @@ -8,7 +8,20 @@ MESA3D_SOURCE:=MesaLib-$(MESA3D_VERSION).tar.gz
> MESA3D_SITE:=ftp://ftp.freedesktop.org/pub/mesa/$(MESA3D_VERSION)
>
> MESA3D_AUTORECONF = NO
> -MESA3D_CONF_OPT = --disable-egl --disable-glu --disable-glw --disable-glut --disable-gallium --with-driver=dri --with-dri-drivers=swrast
> +
> +# Mesa DRI drivers cannot be built statically, so we must force
> +# --disable-static even if the package infrastructure globally passes
> +# --enable-static.
> +MESA3D_CONF_OPT = \
> + --disable-egl \
> + --disable-glu \
> + --disable-glw \
> + --disable-glut \
> + --disable-gallium \
> + --with-driver=dri \
> + --with-dri-drivers=swrast \
> + --disable-static
> +
> MESA3D_INSTALL_STAGING = YES
>
> MESA3D_DEPENDENCIES = xproto_glproto xlib_libXxf86vm xlib_libXdamage xlib_libXfixes xproto_dri2proto libdrm expat
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
next prev parent reply other threads:[~2011-09-20 6:43 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-19 20:57 [Buildroot] [pull request] Pull request for branch for-2011.11/x11r7-fixes Thomas Petazzoni
2011-09-19 20:57 ` [Buildroot] [PATCH 1/5] mesa: build statically because of DRI drivers Thomas Petazzoni
2011-09-20 6:43 ` Thomas Petazzoni [this message]
2011-10-05 17:12 ` Peter Korsgaard
2011-09-19 20:57 ` [Buildroot] [PATCH 2/5] x11r7: make package globally visible Thomas Petazzoni
2011-10-05 17:55 ` Peter Korsgaard
2011-09-19 20:57 ` [Buildroot] [PATCH 3/5] mesa3d: add patch to fix build on !locale toolchains Thomas Petazzoni
2011-10-05 18:02 ` Peter Korsgaard
2011-09-19 20:57 ` [Buildroot] [PATCH 4/5] xdata_xcursor-themes: add dependency on host xapp_xcursorgen Thomas Petazzoni
2011-10-05 18:21 ` Peter Korsgaard
2011-09-19 20:57 ` [Buildroot] [PATCH 5/5] x11r7: AUTORECONF=NO is the default, remove Thomas Petazzoni
2011-10-05 18:23 ` 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=20110920084302.771febcf@skate \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.