svn commit: r324842 - head/sys/boot

Warner Losh imp at FreeBSD.org
Sun Oct 22 03:52:09 UTC 2017


Author: imp
Date: Sun Oct 22 03:52:08 2017
New Revision: 324842
URL: https://svnweb.freebsd.org/changeset/base/324842

Log:
  Introduce BOOTOBJ: The top level object directory for the boot tree
  and use it in preference to spelling out the path.
  
  Sponsored by: Netflix

Modified:
  head/sys/boot/defs.mk

Modified: head/sys/boot/defs.mk
==============================================================================
--- head/sys/boot/defs.mk	Sun Oct 22 03:52:03 2017	(r324841)
+++ head/sys/boot/defs.mk	Sun Oct 22 03:52:08 2017	(r324842)
@@ -11,13 +11,15 @@ LDR_MI=		${BOOTDIR}/common
 SASRC=		${BOOTDIR}/libsa
 SYSDIR=		${SRCTOP}/sys
 
+BOOTOBJ=	${OBJTOP}/sys/boot
+
 # NB: The makefiles depend on these being empty when we don't build forth.
 .if ${MK_FORTH} != "no"
-LIBFICL=	${OBJTOP}/sys/boot/ficl/libficl.a
-LIBFICL32=	${OBJTOP}/sys/boot/ficl32/libficl.a
+LIBFICL=	${BOOTOBJ}/ficl/libficl.a
+LIBFICL32=	${BOOTOBJ}/ficl32/libficl.a
 .endif
-LIBSA=		${OBJTOP}/sys/boot/libsa/libsa.a
-LIBSA32=	${OBJTOP}/sys/boot/libsa32/libsa32.a
+LIBSA=		${BOOTOBJ}/libsa/libsa.a
+LIBSA32=	${BOOTOBJ}/libsa32/libsa32.a
 
 # Standard options:
 


More information about the svn-src-all mailing list