Author: imp
Date: Mon Oct  9 22:12:53 2017
New Revision: 324453
URL: https://svnweb.freebsd.org/changeset/base/324453

Log:
  Create sys/boot/libsa and build libstand.a there
  
  Build libstand from inside the sys/boot build. Redirect all users in
  sys/boot to grab it from there. We still build it as libstand.a for
  the moment. When lib/libstand is moved here, we'll change the name.
  
  Sponsored by: Netflix

Added:
  head/sys/boot/libsa/
  head/sys/boot/libsa/Makefile   (contents, props changed)
Modified:
  head/sys/boot/Makefile
  head/sys/boot/Makefile.inc

Modified: head/sys/boot/Makefile
==============================================================================
--- head/sys/boot/Makefile      Mon Oct  9 22:12:46 2017        (r324452)
+++ head/sys/boot/Makefile      Mon Oct  9 22:12:53 2017        (r324453)
@@ -2,6 +2,7 @@
 
 .include <src.opts.mk>
 
+SUBDIR+=               libsa
 .if ${MK_FORTH} != "no"
 # Build the add-in FORTH interpreter.
 SUBDIR+=               ficl

Modified: head/sys/boot/Makefile.inc
==============================================================================
--- head/sys/boot/Makefile.inc  Mon Oct  9 22:12:46 2017        (r324452)
+++ head/sys/boot/Makefile.inc  Mon Oct  9 22:12:53 2017        (r324453)
@@ -7,7 +7,7 @@ __BOOT_MAKEFILE_INC__=${MFILE}
 
 SASRC=${SRCTOP}/lib/libstand
 # Normal stand alone library
-LIBSA=${OBJTOP}/lib/libstand/libstand.a
+LIBSA=${OBJTOP}/sys/boot/libsa/libstand.a
 # stand alone library compiled for 32-bit version of the processor
 LIBSA32=${OBJTOP}/sys/boot/libstand32/libstand.a
 # stand along library compiled for userboot

Added: head/sys/boot/libsa/Makefile
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ head/sys/boot/libsa/Makefile        Mon Oct  9 22:12:53 2017        
(r324453)
@@ -0,0 +1,14 @@
+# $FreeBSD$
+
+.include <src.opts.mk>
+
+.include "../Makefile.inc"
+
+LIBSTAND_SRC=  ${SASRC}
+LIBC_SRC=      ${SRCTOP}/lib/libc
+INTERNALLIB=
+INCS=
+MAN=
+.PATH: ${SASRC}
+
+.include "${SASRC}/Makefile"
_______________________________________________
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