- Update to 38 - Update spec file to current standards OBS-URL: https://build.opensuse.org/request/show/1064164 OBS-URL: https://build.opensuse.org/package/show/Base:System/efivar?expand=0&rev=54
37 lines
1.1 KiB
Diff
37 lines
1.1 KiB
Diff
From 26ad6858b7ca2093677a8a13d367436f5c1a22fe Mon Sep 17 00:00:00 2001
|
|
From: Mike Gilbert <floppym@gentoo.org>
|
|
Date: Mon, 17 Jan 2022 11:42:53 -0500
|
|
Subject: [PATCH] Adjust dependency for libefivar and libefiboot objects
|
|
|
|
Depending on 'prep' causes all objects to be rebuilt every time 'make'
|
|
is invoked.
|
|
|
|
Depending on '$(GENERATED_SOURCES)' causes a build failure because
|
|
guid-symbols.c gets passed to the compiler due to a rule in rules.mk.
|
|
|
|
Depend on 'include/efivar/efivar-guids.h' directly to avoid these
|
|
issues.
|
|
|
|
Fixes: https://github.com/rhboot/efivar/issues/199
|
|
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
|
|
---
|
|
src/Makefile | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/Makefile b/src/Makefile
|
|
index a86abdc..e04357a 100644
|
|
--- a/src/Makefile
|
|
+++ b/src/Makefile
|
|
@@ -88,7 +88,7 @@ $(MAKEGUIDS_OUTPUT) : guids.txt
|
|
|
|
prep : makeguids $(GENERATED_SOURCES)
|
|
|
|
-$(LIBEFIVAR_OBJECTS) $(LIBEFIBOOT_OBJECTS) : prep
|
|
+$(LIBEFIVAR_OBJECTS) $(LIBEFIBOOT_OBJECTS) : include/efivar/efivar-guids.h
|
|
|
|
libefivar.a : | $(GENERATED_SOURCES)
|
|
libefivar.a : $(patsubst %.o,%.static.o,$(LIBEFIVAR_OBJECTS))
|
|
--
|
|
2.35.3
|
|
|