svn commit: r324702 - head/sys/boot/uboot/lib

Warner Losh imp at FreeBSD.org
Tue Oct 17 19:11:21 UTC 2017


Author: imp
Date: Tue Oct 17 19:11:19 2017
New Revision: 324702
URL: https://svnweb.freebsd.org/changeset/base/324702

Log:
  We need to include disk.o in libuboot.a when we're building with
  support for disk access.
  
  Sponsored by: Netflix

Modified:
  head/sys/boot/uboot/lib/Makefile

Modified: head/sys/boot/uboot/lib/Makefile
==============================================================================
--- head/sys/boot/uboot/lib/Makefile	Tue Oct 17 19:01:01 2017	(r324701)
+++ head/sys/boot/uboot/lib/Makefile	Tue Oct 17 19:11:19 2017	(r324702)
@@ -13,6 +13,10 @@ SRCS+=	module.c net.c reboot.c time.c
 
 CFLAGS+=	-ffreestanding -msoft-float
 
+.if ${LOADER_DISK_SUPPORT:Uyes} == "yes"
+SRCS+= disk.c
+.endif
+
 .if ${MK_FDT} != "no"
 LOADER_FDT_SUPPORT=	yes
 .else


More information about the svn-src-head mailing list