Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Oct 2017 22:12:53 +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: r324453 - in head/sys/boot: . libsa
Message-ID:  <201710092212.v99MCrb0011182@repo.freebsd.org>

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



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