From c460659520a7cd971d6b4afcc4e29520305f5dac Mon Sep 17 00:00:00 2001 From: Jan Luebbe Date: Fri, 31 Jul 2020 17:24:04 +0200 Subject: bsp.ref: use variants instead of redefining an existing assertion ptxdist_debug_pci is defined in reference/ptxdist_debug.ref and available for all platforms. We only want to get different results for this assertion depending on the platform. Signed-off-by: Jan Luebbe --- configs/bsp.ref | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/configs/bsp.ref b/configs/bsp.ref index bb8b017..0d25300 100644 --- a/configs/bsp.ref +++ b/configs/bsp.ref @@ -1,14 +1,15 @@ +includes: + - file: ptxdist.ref + ptxdist_debug_pci: description: | - In DistroKit, we have platforms with and without PCI. As long as we - don't actively use PCI, disable check for lspci on platforms with - PCI. - type: bool - analyzer: | - True - value: True + In DistroKit, we have platforms with and without PCI. + For x86_64, we don't want to have lspci, although PCI is available in the + kernel. + variants: + - condition: kconfig.PTXPlatformConfig()['ARCH_X86'] + value: False + - value: True -includes: - - file: ptxdist.ref # vim: filetype=yaml shiftwidth=2 expandtab -- cgit v1.2.3