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}
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to