* [Buildroot] [PATCH] configs/minnowboard_max-graphical: fix build due to missing glxproto.h
@ 2019-10-12 13:51 unixmania at gmail.com
2019-10-12 14:16 ` Thomas Petazzoni
0 siblings, 1 reply; 3+ messages in thread
From: unixmania at gmail.com @ 2019-10-12 13:51 UTC (permalink / raw)
To: buildroot
From: Carlos Santos <unixmania@gmail.com>
Commit 5cb821d5635 added a new option to enable GLX support in mesa3d.
Update the defconfig accordingly.
Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/318105208
Signed-off-by: Carlos Santos <unixmania@gmail.com>
---
The defconfig was edited by hand to reduce the turmoild that would
result from using "make savedefconfig"
---
configs/minnowboard_max-graphical_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/minnowboard_max-graphical_defconfig b/configs/minnowboard_max-graphical_defconfig
index 921dae310f..1d043240ad 100644
--- a/configs/minnowboard_max-graphical_defconfig
+++ b/configs/minnowboard_max-graphical_defconfig
@@ -41,6 +41,7 @@ BR2_PACKAGE_MESA3D_DEMOS=y
BR2_PACKAGE_MESA3D=y
BR2_PACKAGE_MESA3D_DRI_DRIVER_SWRAST=y
BR2_PACKAGE_MESA3D_DRI_DRIVER_I965=y
+BR2_PACKAGE_MESA3D_OPENGL_GLX=y
# Framebuffer (just for testing purposes)
BR2_PACKAGE_FB_TEST_APP=y
--
2.18.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] configs/minnowboard_max-graphical: fix build due to missing glxproto.h
2019-10-12 13:51 [Buildroot] [PATCH] configs/minnowboard_max-graphical: fix build due to missing glxproto.h unixmania at gmail.com
@ 2019-10-12 14:16 ` Thomas Petazzoni
2019-10-12 14:42 ` Carlos Santos
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2019-10-12 14:16 UTC (permalink / raw)
To: buildroot
Hello Carlos,
On Sat, 12 Oct 2019 10:51:05 -0300
unixmania at gmail.com wrote:
> From: Carlos Santos <unixmania@gmail.com>
>
> Commit 5cb821d5635 added a new option to enable GLX support in mesa3d.
> Update the defconfig accordingly.
>
> Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/318105208
>
> Signed-off-by: Carlos Santos <unixmania@gmail.com>
> ---
> The defconfig was edited by hand to reduce the turmoild that would
> result from using "make savedefconfig"
Fixing the defconfig is not the way to go: if a given configuration
causes a build failure, then Buildroot needs to be fixed, as it means
that the mesa3d package itself is broken: it lets users create
configurations that fail to build.
For example, it means the random configuration testing from the
autobuilders could still fall into this build failure.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] configs/minnowboard_max-graphical: fix build due to missing glxproto.h
2019-10-12 14:16 ` Thomas Petazzoni
@ 2019-10-12 14:42 ` Carlos Santos
0 siblings, 0 replies; 3+ messages in thread
From: Carlos Santos @ 2019-10-12 14:42 UTC (permalink / raw)
To: buildroot
On Sat, Oct 12, 2019 at 11:16 AM Thomas Petazzoni
<thomas.petazzoni@bootlin.com> wrote:
>
> Hello Carlos,
>
> On Sat, 12 Oct 2019 10:51:05 -0300
> unixmania at gmail.com wrote:
>
> > From: Carlos Santos <unixmania@gmail.com>
> >
> > Commit 5cb821d5635 added a new option to enable GLX support in mesa3d.
> > Update the defconfig accordingly.
> >
> > Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/318105208
> >
> > Signed-off-by: Carlos Santos <unixmania@gmail.com>
> > ---
> > The defconfig was edited by hand to reduce the turmoild that would
> > result from using "make savedefconfig"
>
> Fixing the defconfig is not the way to go: if a given configuration
> causes a build failure, then Buildroot needs to be fixed, as it means
> that the mesa3d package itself is broken: it lets users create
> configurations that fail to build.
>
> For example, it means the random configuration testing from the
> autobuilders could still fall into this build failure.
>
> Thomas
> --
> Thomas Petazzoni, CTO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
The board requires BR2_PACKAGE_MESA3D_OPENGL_GLX to take advantage of
the embedded graphics chip.
The other problem is solved by replacing the test for
BR2_PACKAGE_MESA3D_DRI_DRIVER by a test for
BR2_PACKAGE_MESA3D_OPENGL_GLX in
package/x11r7/xserver_xorg-server/xserver_xorg-server.mk.
--
Carlos Santos <unixmania@gmail.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-10-12 14:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-12 13:51 [Buildroot] [PATCH] configs/minnowboard_max-graphical: fix build due to missing glxproto.h unixmania at gmail.com
2019-10-12 14:16 ` Thomas Petazzoni
2019-10-12 14:42 ` Carlos Santos
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.