[Buildroot] [PATCH 3/3] package/glmark2: fix selection of dependencies

Peter Korsgaard peter at korsgaard.com
Wed Nov 17 21:59:44 UTC 2021


>>>>> "Bernd" == Bernd Kuhls <bernd.kuhls at t-online.de> writes:

 > Commit 9c068b4be8 (package/glmark2: fix wayland build) extended the set
 > of required libraries for various "flavor" options by selecting those
 > libraries from the blind options.

 > However, that option is true as soon as the requirements are met (the
 > depends on), even when glmark2 itself is not enabled.

 > This means that extra libraries are pulled in to the build, even when
 > not required.

 > We fix that by moving the actual selects to the main symbol, along with
 > the proper conditions. This means that we have two lines that select
 > wayland-protocols, under two different conditions; we could make that a
 > single select, but the codition would need to be on two lines anyway,
 > so meh...

 > Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
 > ---
 > Requested by Yann:
 > http://lists.busybox.net/pipermail/buildroot/2021-November/628389.html

Committed to 2021.02.x and 2021.08.x, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list