package/kvm-unit-tests: introduce _ARCH_SUPPORTS
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 9 Jul 2017 09:29:59 +0000 (11:29 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 22 Jul 2017 21:26:44 +0000 (23:26 +0200)
commite734c633875ae22e2baebe0d8e76d6e10686d804
tree341539a022a02c554098cf7656edeba78e220ab9
parentcefdd6546010e160985de2daa2ef70a952d081f6
package/kvm-unit-tests: introduce _ARCH_SUPPORTS

Move all architecture options to their own symbol, so that it is easier
to add more variants in the future.

The dependency on cross-gcc >= 4.5 is only valid for i386, as we use the
host gcc for x86_64. Adapt the dependency accordingly.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Cyril Bur <cyrilbur@gmail.com>
[Thomas:
 - add comment about host gcc >= 4.5 dependency on x86-64
 - remove bogus "depends on ... if ..." construct.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/kvm-unit-tests/Config.in