Date: Mon, 17 Nov 2025 00:18:28 GMT From: Warner Losh <imp@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 60f14d05d217 - main - edk2: Fix fdt build Message-ID: <202511170018.5AH0ISNd063858@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=60f14d05d217715240ba48bdf3c08f1aa5ead8d0 commit 60f14d05d217715240ba48bdf3c08f1aa5ead8d0 Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2025-11-16 23:53:47 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2025-11-16 23:55:14 +0000 edk2: Fix fdt build x86 doesn't use FDT things by default, but aarch64 does. I thought I'd built the loader on aarch64 to test the EDK2 all the things series, but apparently not. This fixes the aarch64 build. Fixes: 43b8edb32051 Sponsored by: Netflix --- stand/efi/fdt/Makefile | 1 + stand/efi/fdt/efi_fdt.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/stand/efi/fdt/Makefile b/stand/efi/fdt/Makefile index bbb380f52184..15a42614a422 100644 --- a/stand/efi/fdt/Makefile +++ b/stand/efi/fdt/Makefile @@ -12,6 +12,7 @@ SRCS= efi_fdt.c # EFI library headers CFLAGS+= -I${EFISRC}/include CFLAGS+= -I${EFISRC}/include/${MACHINE} +CFLAGS+= -I${EDK2INC} # libfdt headers CFLAGS+= -I${FDTSRC} diff --git a/stand/efi/fdt/efi_fdt.c b/stand/efi/fdt/efi_fdt.c index adf830e44182..56e7361a8d9f 100644 --- a/stand/efi/fdt/efi_fdt.c +++ b/stand/efi/fdt/efi_fdt.c @@ -31,6 +31,8 @@ #include <efi.h> #include <efilib.h> #include <fdt_platform.h> +#include <Uefi.h> +#include <Guid/Fdt.h> #include "bootstrap.h"help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202511170018.5AH0ISNd063858>
