1# Copyright (C) 2021, Rockchip Electronics Co., Ltd 2# Released under the MIT license (see COPYING.MIT for the terms) 3 4require recipes-kernel/linux/linux-yocto.inc 5require linux-rockchip.inc 6 7inherit local-git 8 9SRCREV = "72de5a560a44fb81549f1da325a1b3e323a7aaf7" 10SRC_URI = " \ 11 git://github.com/JeffyCN/mirrors.git;protocol=https;nobranch=1;branch=kernel-5.10-2022_01_10; \ 12 file://${THISDIR}/files/cgroups.cfg \ 13" 14 15LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" 16 17KERNEL_VERSION_SANITY_SKIP = "1" 18LINUX_VERSION ?= "5.10" 19 20SRC_URI:append = " ${@bb.utils.contains('IMAGE_FSTYPES', 'ext4', \ 21 'file://${THISDIR}/files/ext4.cfg', \ 22 '', \ 23 d)}" 24 25do_patch:append() { 26 sed -i 's/-I\($(BCMDHD_ROOT)\)/-I$(srctree)\/\1/g' \ 27 ${S}/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/Makefile 28} 29