summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Luebbe <jlu@pengutronix.de>2020-07-31 17:24:04 +0200
committerRobert Schwebel <r.schwebel@pengutronix.de>2020-07-31 17:45:39 +0200
commitc460659520a7cd971d6b4afcc4e29520305f5dac (patch)
treee64d57f4587c6a02ccf86265192079e467f0d39a
parent620aaa107eec6579401ad508c0aa3c12032c2db4 (diff)
downloadDistroKit-next.tar.gz
bsp.ref: use variants instead of redefining an existing assertionHEADnextmaster
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 <jlu@pengutronix.de>
-rw-r--r--configs/bsp.ref19
1 files 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