From b9d496b9d2c1b9582f2ceef4400c881ff2de4de2 Mon Sep 17 00:00:00 2001 From: HUI Date: Tue, 7 Feb 2023 11:32:14 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: HUI --- 0001-ci-kernel-version-patch.patch | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/0001-ci-kernel-version-patch.patch b/0001-ci-kernel-version-patch.patch index 047e011..ff522cc 100644 --- a/0001-ci-kernel-version-patch.patch +++ b/0001-ci-kernel-version-patch.patch @@ -15,12 +15,12 @@ index 3cb5a30..bf9e27c 100644 -KERNEL_PATH := /lib/modules/`uname -r`/build -KSP := $(shell if test -d /lib/modules/`uname -r`/source; then \ - echo /lib/modules/`uname -r`/source; \ -+KERNEL_PATH := /lib/modules/5.10*/build -+KSP := $(shell if test -d /lib/modules/5.10*/source; then \ -+ echo /lib/modules/5.10*/source; \ ++KERNEL_PATH := /lib/modules/6.1*/build ++KSP := $(shell if test -d /lib/modules/6.1*/source; then \ ++ echo /lib/modules/6.1*/source; \ else \ - echo /lib/modules/`uname -r`/build; \ -+ echo /lib/modules/5.10*/build; \ ++ echo /lib/modules/6.1*/build; \ fi) obj-m += uacce/ @@ -30,8 +30,8 @@ index 3cb5a30..bf9e27c 100644 install: - $(shell mkdir -p /lib/modules/`uname -r`/extra) - $(shell find . -name "*.ko" -exec cp -f {} /lib/modules/`uname -r`/extra \;) -+ $(shell mkdir -p /lib/modules/5.10*/extra) -+ $(shell find . -name "*.ko" -exec cp -f {} /lib/modules/5.10*/extra \;) ++ $(shell mkdir -p /lib/modules/6.1*/extra) ++ $(shell find . -name "*.ko" -exec cp -f {} /lib/modules/6.1*/extra \;) depmod -a $(shell if test -e /etc/modprobe.d/10-unsupported-modules.conf; then \ sed -i "s/^allow_unsupported_modules.*/allow_unsupported_modules 1/" /etc/modprobe.d/10-unsupported-modules.conf; \ @@ -44,11 +44,11 @@ index 3cb5a30..bf9e27c 100644 - rm -rf /lib/modules/`uname -r`/extra/hisi_sec2.ko - rm -rf /lib/modules/`uname -r`/extra/hisi_hpre.ko - rm -rf /lib/modules/`uname -r`/extra/hisi_zip.ko -+ rm -rf /lib/modules/5.10*/extra/uacce.ko -+ rm -rf /lib/modules/5.10*/extra/hisi_qm.ko -+ rm -rf /lib/modules/5.10*/extra/hisi_sec2.ko -+ rm -rf /lib/modules/5.10*/extra/hisi_hpre.ko -+ rm -rf /lib/modules/5.10*/extra/hisi_zip.ko ++ rm -rf /lib/modules/6.1*/extra/uacce.ko ++ rm -rf /lib/modules/6.1*/extra/hisi_qm.ko ++ rm -rf /lib/modules/6.1*/extra/hisi_sec2.ko ++ rm -rf /lib/modules/6.1*/extra/hisi_hpre.ko ++ rm -rf /lib/modules/6.1*/extra/hisi_zip.ko rm -rf /etc/modprobe.d/hisi_sec2.conf rm -rf /etc/modprobe.d/hisi_hpre.conf rm -rf /etc/modprobe.d/hisi_zip.conf