aboutsummaryrefslogtreecommitdiff
path: root/sys/boot/i386/loader/Makefile
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2014-02-06 21:54:21 +0000
committerEd Maste <emaste@FreeBSD.org>2014-02-06 21:54:21 +0000
commit5a989e68f6d1cfc1e6caba06e43d1190489604e8 (patch)
tree0617332b52faa26c2494295459f0492fb051b42e /sys/boot/i386/loader/Makefile
parentbb7a82ac0d019b10e8fbf40097fdb5dd2dfe7ecd (diff)
downloadsrc-5a989e68f6d1cfc1e6caba06e43d1190489604e8.tar.gz
src-5a989e68f6d1cfc1e6caba06e43d1190489604e8.zip
Build a 32-bit libstand under sys/boot/
A 32-bit libstand is needed on 64-bit platforms for use by various bootloaders. Previously only the 32-bit version was built, installed as /usr/lib/libstand.a. A new 64-bit libstand consumer will arrive in the near future, so move the bootloader-specific 32-bit version to sys/boot/libstand32/. Explicitly link against this version in the 32-bit loaders. Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=261567
Diffstat (limited to 'sys/boot/i386/loader/Makefile')
-rw-r--r--sys/boot/i386/loader/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/boot/i386/loader/Makefile b/sys/boot/i386/loader/Makefile
index 0ee8bd8b7ec5..b0a129e93992 100644
--- a/sys/boot/i386/loader/Makefile
+++ b/sys/boot/i386/loader/Makefile
@@ -69,6 +69,8 @@ LDFLAGS= -static -Ttext 0x0
LIBI386= ${.OBJDIR}/../libi386/libi386.a
CFLAGS+= -I${.CURDIR}/..
+LIBSTAND= ${.OBJDIR}/../../libstand32/libstand.a
+
# BTX components
CFLAGS+= -I${.CURDIR}/../btx/lib