package/jpeg: properly declare providers
authorYann E. MORIN <yann.morin.1998@free.fr>
Sat, 3 Sep 2016 22:58:42 +0000 (00:58 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 4 Sep 2016 13:39:32 +0000 (15:39 +0200)
commit35524d3733a5570794b1460bd545ad33bf6b49ef
tree80d6d4eb07e0b24ab58962e45ec40aa008fbf59f
parentcf03d6fe04c9e31889055a4cc038597b0a4b3f80
package/jpeg: properly declare providers

libjpeg and jpeg-turo are providers of the jpeg virtual package, so they
must declare themselves as such.

We do not have any problem, because the dependency is computed from the
Kconfig-defined option BR2_PACKAGE_PROVIDES_JPEG, and we do not check
the Makefile-defined <FOO>_PROVIDES variable.

For the sake of correctness, make both libjpeg and jpeg-turo declare
themselves as providers for the jpeg virtual package.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/jpeg-turbo/jpeg-turbo.mk
package/libjpeg/libjpeg.mk