diff --git a/recipes-kernel/linux-yocto/linux-yocto/ashmem.cfg b/recipes-kernel/linux-yocto/linux-yocto/ashmem.cfg new file mode 100644 index 0000000000000000000000000000000000000000..e4590e28d93f83c7e387b8c95f922243278e0fb9 --- /dev/null +++ b/recipes-kernel/linux-yocto/linux-yocto/ashmem.cfg @@ -0,0 +1,7 @@ +# SPDX-FileCopyrightText: Huawei Inc. +# +# SPDX-License-Identifier: Apache-2.0 + +CONFIG_STAGING=y +CONFIG_ANDROID=y +CONFIG_ASHMEM=y diff --git a/recipes-kernel/linux-yocto/linux-yocto_%.bbappend b/recipes-kernel/linux-yocto/linux-yocto_%.bbappend new file mode 100644 index 0000000000000000000000000000000000000000..248930c05ca4e58fb7a1624d591ad04b349263f4 --- /dev/null +++ b/recipes-kernel/linux-yocto/linux-yocto_%.bbappend @@ -0,0 +1,7 @@ +# SPDX-FileCopyrightText: Huawei Inc. +# +# SPDX-License-Identifier: Apache-2.0 + +FILESEXTRAPATHS:prepend := "${THISDIR}/linux-yocto:" + +SRC_URI:append:oniro-openharmony-linux = " file://ashmem.cfg"