diff --git a/meta-ohos-core/recipes-kernel/linux/linux-yocto-all.inc b/meta-ohos-core/recipes-kernel/linux/linux-yocto-all.inc
new file mode 100644
index 0000000000000000000000000000000000000000..e116d33eea1ac2edff2e752941bef004da568e23
--- /dev/null
+++ b/meta-ohos-core/recipes-kernel/linux/linux-yocto-all.inc
@@ -0,0 +1,3 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/linux:"
+
+SRC_URI += "file://misc.cfg"
diff --git a/meta-ohos-core/recipes-kernel/linux/linux-yocto_%.bbappend b/meta-ohos-core/recipes-kernel/linux/linux-yocto_%.bbappend
new file mode 100644
index 0000000000000000000000000000000000000000..22e101e852aef031e90a077c85c758009b8c5b7a
--- /dev/null
+++ b/meta-ohos-core/recipes-kernel/linux/linux-yocto_%.bbappend
@@ -0,0 +1 @@
+require recipes-kernel/linux/linux-yocto-all.inc
diff --git a/meta-ohos-core/recipes-kernel/linux/linux/misc.cfg b/meta-ohos-core/recipes-kernel/linux/linux/misc.cfg
new file mode 100644
index 0000000000000000000000000000000000000000..f08e78e31455f6f2f88f74aad54e8328553e7510
--- /dev/null
+++ b/meta-ohos-core/recipes-kernel/linux/linux/misc.cfg
@@ -0,0 +1,2 @@
+# Avoid kernel config build warnings on qemux86-64
+CONFIG_SERIAL_OF_PLATFORM=n