diff options
author | Andrew Turner <andrew@FreeBSD.org> | 2015-04-05 18:37:39 +0000 |
---|---|---|
committer | Andrew Turner <andrew@FreeBSD.org> | 2015-04-05 18:37:39 +0000 |
commit | 60ac5344406e7c76efed85858923c1b81968dc4e (patch) | |
tree | bec1710d8bb5bfdcfc328a9206c3b28271fe89b4 /sys/boot/efi/Makefile | |
parent | 1d2c0c460cb66c5efb29c30563a3e02bb7169ff0 (diff) | |
download | src-60ac5344406e7c76efed85858923c1b81968dc4e.tar.gz src-60ac5344406e7c76efed85858923c1b81968dc4e.zip |
Add FDT support to loader.efi. This will be used on arm and arm64.
Differential Revision: https://reviews.freebsd.org/D2219
Notes
Notes:
svn path=/head/; revision=281114
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 |