20 Star 0 Fork 8

openEuler-RISC-V/dbxtool

forked from src-openEuler/dbxtool 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
remove-duplicate-efi-defines.patch 960 Bytes
一键复制 编辑 原始数据 按行查看 历史
From 809f580026d29d42306482b3ad7f15f015916dad Mon Sep 17 00:00:00 2001
From: ZhouPengcheng <zhoupengcheng11@huawei.com>
Date: Mon, 14 Nov 2022 19:40:37 +0800
Subject: [PATCH] dbxtool: fix build failure
The dbxtool installation depends on the efivar,After the efivar upgrade,
three macrows are added to the efivar,which are the same as the macro
variables of the dbxtool.As a result, the dbxtool build failure.
Therefore,redundant macro definitions are deleted from the dbxtool to
fix the build failure.
---
src/esl.h | 4 ----
1 file changed, 4 deletions(-)
diff --git a/src/esl.h b/src/esl.h
index 456f748..3b9b788 100644
--- a/src/esl.h
+++ b/src/esl.h
@@ -47,10 +47,6 @@ typedef struct {
uint8_t pad2;
} __attribute__((aligned (1))) EFI_TIME;
-#define EFI_TIME_ADJUST_DAYLIGHT 0x01
-#define EFI_TIME_IN_DAYLIGHT 0x02
-
-#define EFI_UNSPECIFIED_TIMEZONE 0x07ff
typedef struct _EFI_CERT_BLOCK_RSA_2048_SHA256 {
efi_guid_t HashType;
--
2.27.0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/openeuler-risc-v/dbxtool.git
git@gitee.com:openeuler-risc-v/dbxtool.git
openeuler-risc-v
dbxtool
dbxtool
master

搜索帮助