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
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to