!31 Clean more files
From: @xuiny Reviewed-by: @Charlie_li, @chenmaodong Signed-off-by: @Charlie_li, @chenmaodong
This commit is contained in:
commit
c73b4adcd9
36
0003-Clean-more-files.patch
Normal file
36
0003-Clean-more-files.patch
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
From 438248400c6ae28c2d14b5e5abf05bbf4faa72a3 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Haitao Huang <4699115+haitaohuang@users.noreply.github.com>
|
||||||
|
Date: Sat, 12 Sep 2020 16:44:52 -0500
|
||||||
|
Subject: [PATCH 2/5] Clean more files
|
||||||
|
|
||||||
|
Signed-off-by: Haitao Huang <4699115+haitaohuang@users.noreply.github.com>
|
||||||
|
---
|
||||||
|
.gitignore | 1 +
|
||||||
|
Makefile | 2 +-
|
||||||
|
2 files changed, 2 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/.gitignore b/.gitignore
|
||||||
|
index 1adf5a1..a4dfd7f 100644
|
||||||
|
--- a/.gitignore
|
||||||
|
+++ b/.gitignore
|
||||||
|
@@ -1,6 +1,7 @@
|
||||||
|
*.ko
|
||||||
|
*.o
|
||||||
|
*.cmd
|
||||||
|
+*.mod
|
||||||
|
*.mod.*
|
||||||
|
*.symvers
|
||||||
|
*.order
|
||||||
|
diff --git a/Makefile b/Makefile
|
||||||
|
index 74ec5d7..c0963fc 100644
|
||||||
|
--- a/Makefile
|
||||||
|
+++ b/Makefile
|
||||||
|
@@ -23,4 +23,4 @@ install: default
|
||||||
|
endif
|
||||||
|
|
||||||
|
clean:
|
||||||
|
- rm -vrf *.o *.ko *.order *.symvers *.mod.c .tmp_versions .*o.cmd
|
||||||
|
+ rm -vrf *.o *.ko *.order *.symvers *.mod.c .tmp_versions .*o.cmd *.mod
|
||||||
|
--
|
||||||
|
2.39.0.windows.1
|
||||||
|
|
||||||
@ -1,6 +1,6 @@
|
|||||||
Name: linux-sgx-driver
|
Name: linux-sgx-driver
|
||||||
Version: 2.11
|
Version: 2.11
|
||||||
Release: 7
|
Release: 8
|
||||||
Summary: Intel SGX Linux* Driver
|
Summary: Intel SGX Linux* Driver
|
||||||
ExclusiveArch: x86_64
|
ExclusiveArch: x86_64
|
||||||
License: BSD-3-Clause and GPL-2.0 License
|
License: BSD-3-Clause and GPL-2.0 License
|
||||||
@ -10,6 +10,7 @@ Source0: https://github.com/intel/linux-sgx-driver/archive/sgx_driver_%{version}
|
|||||||
BuildRequires: gcc kernel-devel make module-init-tools glibc uname-build-checks elfutils-devel
|
BuildRequires: gcc kernel-devel make module-init-tools glibc uname-build-checks elfutils-devel
|
||||||
Patch0: 0001-Fix-compilation-on-5.8-kernel-120.patch
|
Patch0: 0001-Fix-compilation-on-5.8-kernel-120.patch
|
||||||
Patch1: 0002-Use-cpuid-instead-of-boot_cpu_has-to-check-cpu-features.patch
|
Patch1: 0002-Use-cpuid-instead-of-boot_cpu_has-to-check-cpu-features.patch
|
||||||
|
Patch2: 0003-Clean-more-files.patch
|
||||||
|
|
||||||
%define kern_devel_ver %(uname -r)
|
%define kern_devel_ver %(uname -r)
|
||||||
Requires: kernel=%{kern_devel_ver}
|
Requires: kernel=%{kern_devel_ver}
|
||||||
@ -62,6 +63,9 @@ sed -i '/^isgx$/d' /etc/modules
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Dec 29 2022 xuxinyu <xuxinyu@xfusion.com> - 2.11-8
|
||||||
|
- Clean more files
|
||||||
|
|
||||||
* Mon Jun 13 2022 wangyu <wangyu283@huawei.com> - 2.11-7
|
* Mon Jun 13 2022 wangyu <wangyu283@huawei.com> - 2.11-7
|
||||||
- kernel 5.10 backport kernel 5.11 sgx driver patch, disables sgx feature flag for non-FLC platforms
|
- kernel 5.10 backport kernel 5.11 sgx driver patch, disables sgx feature flag for non-FLC platforms
|
||||||
- use cpuid instead of boot_cpu_has to check cpu features
|
- use cpuid instead of boot_cpu_has to check cpu features
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user