Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Oct 2017 19:11:20 +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: r324702 - head/sys/boot/uboot/lib
Message-ID:  <201710171911.v9HJBKdT092637@repo.freebsd.org>

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



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