package/mesa3d: fix improper dependency of blind option
authorYann E. MORIN <yann.morin.1998@free.fr>
Sat, 5 Apr 2014 12:10:07 +0000 (14:10 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 16 Apr 2014 17:59:25 +0000 (19:59 +0200)
commit7e2ba248c62dd48c4f24b71e16c4cc1601596b5f
tree35b49f0445cacd5a885200b3e2786aa0c9cb55d9
parent77d6e6ac2a74bc591cdfcadcb1d2f3e79a4469a0
package/mesa3d: fix improper dependency of blind option

Currently, the blind option BR2_PACKAGE_MESA3D_DRI_DRIVER depends
on !STATIC.

But this option is also selected by the various DRI drivers, and
none of them currently depend on !STATIC (although there is a comment
stating DRI drivers need !STATIC, there's nothing to enforce that).

So, we could well end-up with an inconsistent configuration, where some
DRI drivers are selected even though STATIC is set.

Enclose all DRI drivers in an 'if !STATIC' condition, remove the
dependency from the blind option, move the comment so it is nearer
the affected drivers, rephrase the comment to match the rules about
dependencies on toolchain features.

[Thomas: really use the right wording for the comment about the
dynamic library dependency.]

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Paul Cercueil <paul@crapouillou.net>
Cc: Bernd Kuhls <berndkuhls@hotmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/mesa3d/Config.in