From cf4aff55e7ed87e1618c26a677e45f75daba6135 Mon Sep 17 00:00:00 2001
From: Esben Haabendal <esben.haabendal@huawei.com>
Date: Mon, 27 Jun 2022 17:16:35 +0200
Subject: [PATCH] linux-yocto: Switch to distro-neutral openharmony override

This allows building OpenHarmony compatible linux-yocto kernel using any distro
configuration which enables "openharmony" in its DISTROOVERRIDES.

Signed-off-by: Esben Haabendal <esben.haabendal@huawei.com>
---
 recipes-kernel/linux-yocto/linux-yocto_%.bbappend | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/recipes-kernel/linux-yocto/linux-yocto_%.bbappend b/recipes-kernel/linux-yocto/linux-yocto_%.bbappend
index 00b55694..572820bd 100644
--- a/recipes-kernel/linux-yocto/linux-yocto_%.bbappend
+++ b/recipes-kernel/linux-yocto/linux-yocto_%.bbappend
@@ -4,10 +4,10 @@
 
 FILESEXTRAPATHS:prepend := "${THISDIR}/linux-yocto:"
 
-SRC_URI:append:oniro-openharmony-linux = " file://ashmem.cfg"
-SRC_URI:append:oniro-openharmony-linux = " file://driver-add-hilog-and-hievent-buffer-management-drive.patch"
-SRC_URI:append:oniro-openharmony-linux = " file://driver-add-hilog-and-hievent-buffer-management-drive.cfg"
-SRC_URI:append:oniro-openharmony-linux = " file://android_binder_ipc.cfg"
+SRC_URI:append:openharmony = " file://ashmem.cfg"
+SRC_URI:append:openharmony = " file://driver-add-hilog-and-hievent-buffer-management-drive.patch"
+SRC_URI:append:openharmony = " file://driver-add-hilog-and-hievent-buffer-management-drive.cfg"
+SRC_URI:append:openharmony = " file://android_binder_ipc.cfg"
 
 #
 # QEMU ARM Cortex-A7
-- 
GitLab