Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Nov 2017 23:54:09 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r325686 - head/sys/boot/uboot/lib
Message-ID:  <201711102354.vAANs99T074789@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711102354.vAANs99T074789>