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

Reply via email to