summaryrefslogtreecommitdiff
path: root/sys/boot
diff options
context:
space:
mode:
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"