Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Oct 2017 03:52:08 +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: r324842 - head/sys/boot
Message-ID:  <201710220352.v9M3q8VX028066@repo.freebsd.org>

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



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