aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2017-11-10 23:54:09 +0000
committerWarner Losh <imp@FreeBSD.org>2017-11-10 23:54:09 +0000
commita00b1bd36b63bc781a085f89cfab30336104af86 (patch)
treeb3cb0729e821ddb2dd0e59c092c2e798cc42a698 /sys
parent7456f77248d798baf84e77ec923635fe4047f5ca (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/boot/uboot/lib/Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/boot/uboot/lib/Makefile b/sys/boot/uboot/lib/Makefile
index 6b25a415e6cd..13dee0e22f62 100644
--- a/sys/boot/uboot/lib/Makefile
+++ b/sys/boot/uboot/lib/Makefile
@@ -17,11 +17,7 @@ CFLAGS+= -ffreestanding -msoft-float
SRCS+= disk.c
.endif
-.if ${MK_FDT} != "no"
-LOADER_FDT_SUPPORT= yes
-.else
-LOADER_FDT_SUPPORT= no
-.endif
+LOADER_FDT_SUPPORT= ${MK_FDT}
.if ${LOADER_FDT_SUPPORT} == "yes"
CFLAGS+= -DLOADER_FDT_SUPPORT -I${FDTSRC}