summaryrefslogtreecommitdiff
path: root/sys/boot
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2017-10-09 22:12:53 +0000
committerWarner Losh <imp@FreeBSD.org>2017-10-09 22:12:53 +0000
commite1ff8b2f35a4cf7623a3a68b3b6bae62a4986d08 (patch)
tree45761dd20c776d38816f4fdee46e458575339136 /sys/boot
parent8f409b435a6ce131f83a7ab191c207fac6590701 (diff)
downloadsrc-test2-e1ff8b2f35a4cf7623a3a68b3b6bae62a4986d08.tar.gz
src-test2-e1ff8b2f35a4cf7623a3a68b3b6bae62a4986d08.zip
Notes
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/Makefile1
-rw-r--r--sys/boot/Makefile.inc2
-rw-r--r--sys/boot/libsa/Makefile14
3 files changed, 16 insertions, 1 deletions
diff --git a/sys/boot/Makefile b/sys/boot/Makefile
index 260765126440..30baed2313aa 100644
--- a/sys/boot/Makefile
+++ b/sys/boot/Makefile
@@ -2,6 +2,7 @@
.include <src.opts.mk>
+SUBDIR+= libsa
.if ${MK_FORTH} != "no"
# Build the add-in FORTH interpreter.
SUBDIR+= ficl
diff --git a/sys/boot/Makefile.inc b/sys/boot/Makefile.inc
index 7e6439a3748c..55d26328c282 100644
--- a/sys/boot/Makefile.inc
+++ b/sys/boot/Makefile.inc
@@ -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
diff --git a/sys/boot/libsa/Makefile b/sys/boot/libsa/Makefile
new file mode 100644
index 000000000000..5b7397936c10
--- /dev/null
+++ b/sys/boot/libsa/Makefile
@@ -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"