From c61bfdc8a34fea1c6ea97ac0fb9c99f34f980381 Mon Sep 17 00:00:00 2001 From: Matthew Garrett Date: Fri, 19 Feb 2021 13:47:10 -0800 Subject: build: Import gnu-efi as a submodule and build against it Shim is rather more friendly with EFI internals than most code, and as a result can end up making assumptions that are out of step with those made by gnu-efi. Since both projects are developed independently, and since distributions are often trying to build versions of shim against whatever version of gnu-efi they are shipping, this can result in awkward build failures. The easiest way to handle this is to use a git submodule and import a known-good version of shim directly into the build tree. Given static linking, this will also make reproducible builds easier. Plus some changes from pjones: - Fix up some more include paths - more fine grained clean rules - use our make ARCH - use an rhboot/ repo for the gnu-efi remote Signed-off-by: Matthew Garrett --- gnu-efi | 1 + 1 file changed, 1 insertion(+) create mode 160000 gnu-efi (limited to 'gnu-efi') diff --git a/gnu-efi b/gnu-efi new file mode 160000 index 00000000..9aa86c75 --- /dev/null +++ b/gnu-efi @@ -0,0 +1 @@ +Subproject commit 9aa86c7526a4adc363afe6847bc3a4c8efe6df84 -- cgit v1.2.3