Clean more files
Signed-off-by: xuxinyu <xuxinyu@xfusion.com>
This commit is contained in:
parent
ca9ddb4191
commit
3d346406c2
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
|
||||
Version: 2.11
|
||||
Release: 7
|
||||
Release: 8
|
||||
Summary: Intel SGX Linux* Driver
|
||||
ExclusiveArch: x86_64
|
||||
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
|
||||
Patch0: 0001-Fix-compilation-on-5.8-kernel-120.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)
|
||||
Requires: kernel=%{kern_devel_ver}
|
||||
@ -62,6 +63,9 @@ sed -i '/^isgx$/d' /etc/modules
|
||||
|
||||
|
||||
%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
|
||||
- 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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user