[meta-arm] arm-bsp: Fix missing virtual/kernel warnings for musca

Submitted by Jon Mason on Aug. 10, 2020, 2:34 p.m. | Patch ID: 175181

Details

Message ID 20200810143407.12420-1-jon.mason@arm.com
State New
Headers show

Commit Message

Jon Mason Aug. 10, 2020, 2:34 p.m.
When building musca s1 and b1, the many warnings are seen.  As an
example:
NOTE: Multiple providers are available for virtual/kernel (linux-dummy, linux-linaro-arm, linux-mainline, linux-stable)
Consider defining a PREFERRED_PROVIDER entry to match virtual/kernel
NOTE: Multiple providers are available for runtime kernel-base (linux-linaro-arm, linux-mainline, linux-stable)
Consider defining a PREFERRED_RPROVIDER entry to match kernel-base
NOTE: Multiple providers are available for runtime kernel-image (linux-linaro-arm, linux-mainline, linux-stable)
Consider defining a PREFERRED_RPROVIDER entry to match kernel-image
NOTE: Multiple providers are available for runtime kernel-image-zimage (linux-linaro-arm, linux-mainline, linux-stable)
Consider defining a PREFERRED_RPROVIDER entry to match kernel-image-zimage
...

Add linux-dummy as the PREFERRED_PROVIDER to the musca inc file to
silence these.

Change-Id: I80eee816b51aa028f9f2ceb03ac137f9c5f8b461
Signed-off-by: Jon Mason <jon.mason@arm.com>
---
 meta-arm-bsp/conf/machine/armv8m.inc | 2 ++
 1 file changed, 2 insertions(+)

Patch hide | download patch | download mbox

diff --git a/meta-arm-bsp/conf/machine/armv8m.inc b/meta-arm-bsp/conf/machine/armv8m.inc
index e7c7ca8..0763193 100644
--- a/meta-arm-bsp/conf/machine/armv8m.inc
+++ b/meta-arm-bsp/conf/machine/armv8m.inc
@@ -3,6 +3,8 @@  DEFAULTTUNE ?= "armv8m"
 TUNEVALID[armv8m] = "Enable instructions for ARMv8-m"
 AVAILTUNES += "armv8m"
 
+PREFERRED_PROVIDER_virtual/kernel = "linux-dummy"
+
 ARMPKGARCH_tune-armv8m ?= "armv8m"
 TUNE_FEATURES_tune-armv8m = "armv8m"
 PACKAGE_EXTRA_ARCHS_tune-armv8m = "armv8m"