[Buildroot] [PATCH 1/1] package/libva-intel-driver: Fix build
Peter Korsgaard
peter at korsgaard.com
Sat Apr 4 22:03:15 UTC 2015
>>>>> "Bernd" == Bernd Kuhls <bernd.kuhls at t-online.de> writes:
> Thomas Petazzoni <thomas.petazzoni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8
> @public.gmane.org> wrote in news:20150331234038.5fe3b78b at free-electrons.com:
>> Can you comment a bit more on why this is needed? Your commit lo says
>> "needed to produce a working configure script", but a quick look at the
>> build failures only points to the wayland dependency problem.
> Hi,
> when you compare the configure script delivered by libva-intel-driver and the
> one generated by our autoreconf you will see some huge differences.
> The upstream configure script does not honour --disable-wayland, instead it
> always assumes wayland support for a reason I do not know. Maybe the line
> m4_ifdef([WAYLAND_SCANNER_RULES],
> in configure.ac, line 170, is not interpreted correctly by the autoconf tools
> used upstream. Running autoreconf in buildroot fixes the build error.
Ahh, I get it now.
This is not really about a wrongly generated configure script, but
simply because the WAYLAND_SCANNER handling is outside the wayland
conditional.
There is an open bugzilla entry about it upstream:
https://bugs.freedesktop.org/show_bug.cgi?id=79478
WAYLAND_SCANNER_RULES is provided by wayland, so the reason why running
autoreconf fixes the issue is that it will only get expanded if built
after wayland.
Committed with a more detailed commit message, thanks.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list