svn commit: r325686 - head/sys/boot/uboot/lib
Warner Losh
imp at FreeBSD.org
Fri Nov 10 23:54:10 UTC 2017
Author: imp
Date: Fri Nov 10 23:54:09 2017
New Revision: 325686
URL: https://svnweb.freebsd.org/changeset/base/325686
Log:
Simplify this if to a direct assignment.
Sponsored by: Netflix
Modified:
head/sys/boot/uboot/lib/Makefile
Modified: head/sys/boot/uboot/lib/Makefile
==============================================================================
--- head/sys/boot/uboot/lib/Makefile Fri Nov 10 23:54:03 2017 (r325685)
+++ head/sys/boot/uboot/lib/Makefile Fri Nov 10 23:54:09 2017 (r325686)
@@ -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}
More information about the svn-src-all
mailing list