diff options
Diffstat (limited to 'sys/boot/efi/Makefile')
-rw-r--r-- | sys/boot/efi/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/boot/efi/Makefile b/sys/boot/efi/Makefile index 5dfb648815bc..d6950172a237 100644 --- a/sys/boot/efi/Makefile +++ b/sys/boot/efi/Makefile @@ -1,7 +1,15 @@ # $FreeBSD$ +.include <src.opts.mk> + SUBDIR= libefi +.if ${TARGET_CPUARCH} == "aarch64" || ${TARGET_CPUARCH} == "arm" +.if ${MK_FDT} != "no" +SUBDIR+= fdt +.endif +.endif + .if ${MACHINE_CPUARCH} == "amd64" SUBDIR+= loader boot1 .endif |