summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2000-09-08 04:26:55 +0000
committerWarner Losh <imp@FreeBSD.org>2000-09-08 04:26:55 +0000
commit799c0f62dd7c26b2f7fabbbcd8913e98af9b0e5c (patch)
treef22f1f1d56fd2b45e91a79a9ee446c03d4779f6c /sys
parent4ef34f39ec92b670bbc97788a1effc8f49ac97c2 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/boot/i386/loader/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/boot/i386/loader/Makefile b/sys/boot/i386/loader/Makefile
index fe78fb9b130d..b70281bab932 100644
--- a/sys/boot/i386/loader/Makefile
+++ b/sys/boot/i386/loader/Makefile
@@ -45,8 +45,14 @@ LIBI386= ${.OBJDIR}/../libi386/libi386.a
CFLAGS+= -I${.CURDIR}/..
# where to get libstand from
+#XXX need a better way to do this
+LIBSTAND= ${.CURDIR}/../../../../lib/libstand/libstand.a
+.if !exists(${LIBSTAND})
+LIBSTAND= ${.OBJDIR}/../../../../lib/libstand/libstand.a
+.if !exists(${LIBSTAND})
LIBSTAND= -lstand
-#LIBSTAND= ${.CURDIR}/../../../../lib/libstand/libstand.a
+.endif
+.endif
CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/
# BTX components