From c4976e215559d3d02c528d5352f76ca92802d25d Mon Sep 17 00:00:00 2001
From: Andrei Gherzan <andrei.gherzan@huawei.com>
Date: Thu, 11 Mar 2021 15:31:45 +0000
Subject: [PATCH] linux-yocto-rt: Fix CONFIG_SERIAL_OF_PLATFORM build warning
 on 5.10

Due to a configuration bug in upstream, the build system outputs a
configuration warning similar to:

---------- CONFIG_SERIAL_OF_PLATFORM -----------------
Config: CONFIG_SERIAL_OF_PLATFORM
From:
[...]/tmp/work-shared/qemux86-64/kernel-source/.kernel-meta/configs/v5.10/standard/cfg/8250.cfg
Requested value:  CONFIG_SERIAL_OF_PLATFORM=y
Actual value:

Avoid this by disabling the specific config.

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
---
 meta-ohos-core/recipes-kernel/linux/linux-yocto-rt_%.bbappend | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 meta-ohos-core/recipes-kernel/linux/linux-yocto-rt_%.bbappend

diff --git a/meta-ohos-core/recipes-kernel/linux/linux-yocto-rt_%.bbappend b/meta-ohos-core/recipes-kernel/linux/linux-yocto-rt_%.bbappend
new file mode 100644
index 00000000..22e101e8
--- /dev/null
+++ b/meta-ohos-core/recipes-kernel/linux/linux-yocto-rt_%.bbappend
@@ -0,0 +1 @@
+require recipes-kernel/linux/linux-yocto-all.inc
-- 
GitLab