Files
gentoo/sys-boot/gnu-efi/files/gnu-efi-3.0.18-remove-linux-headers.patch
Viorel Munteanu a27c3eccc4 sys-boot/gnu-efi: fix building efi apps
Remove an include directory missing on most systems.

Closes: https://bugs.gentoo.org/888829
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
2024-08-02 07:53:06 +03:00

15 lines
360 B
Diff

https://bugs.gentoo.org/888829
--- a/apps/Makefile
+++ b/apps/Makefile
@@ -41,9 +41,7 @@
include $(SRCDIR)/../Make.defaults
-LINUX_HEADERS = /usr/src/sys/build
APPSDIR = $(LIBDIR)/gnuefi/apps
-CPPFLAGS += -D__KERNEL__ -I$(LINUX_HEADERS)/include
CRTOBJS = $(TOPDIR)/$(ARCH)/gnuefi/crt0-efi-$(ARCH).o
LDSCRIPT = $(TOPDIR)/gnuefi/elf_$(ARCH)_efi.lds