rng-tools: Fix disabling package on non-x86 architectures.
authorNicolas Cavallari <nicolas.cavallari@green-communications.fr>
Wed, 11 Jan 2017 16:19:50 +0000 (17:19 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 24 Jan 2017 10:20:09 +0000 (23:20 +1300)
commitd34c0cc5800e4af4889e8631d343fcf0a894a43a
treee80b6a131672f624638bd2b7c5f5c14497804a26
parent7ffcc39bf82b322c2f54c19c8ce6116337f37dbe
rng-tools: Fix disabling package on non-x86 architectures.

Commit 2f89476 ("package/libgpg-error: bump to version 1.23") introduced
a BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS which was added as a dependency
to all libgpg-error reverse dependencies.

However, rng-tools only select libgpg-error if BR2_i386 || BR2_x86_64
(for RDRAND) but the rng-tools dependency was added as
BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS && (BR2_i386 || BR2_x86_64),
Therefore limiting rng-tools to the x86 architecture.

This patch changes it as ..._ARCH_SUPPORT || !(BR2_i386 || BR2_x86_64).

Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/rng-tools/Config.in