aboutsummaryrefslogtreecommitdiff
path: root/sys/boot
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2004-02-27 14:10:09 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2004-02-27 14:10:09 +0000
commiteec24f3275f7111083301bad74df766014ccb390 (patch)
tree2aec4374306c7513f64c2c0d62c20c6163f0f0a5 /sys/boot
parente0aca24352d557c6ecbbc36401ead45732278ebe (diff)
Notes
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/i386/loader/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/boot/i386/loader/Makefile b/sys/boot/i386/loader/Makefile
index ed6d5d3cfcc17..55152bbd522db 100644
--- a/sys/boot/i386/loader/Makefile
+++ b/sys/boot/i386/loader/Makefile
@@ -82,8 +82,11 @@ FILESDIR_loader.conf= /boot/defaults
FILES+= ${.CURDIR}/loader.rc
.endif
-DPADD= ${BTXCRT} ${LIBFICL} ${LIBI386} ${LIBSTAND}
-LDADD= ${BTXCRT} ${LIBFICL} ${LIBI386} -lstand
+# XXX crt0.o needs to be first for pxeboot(8) to work
+OBJS= ${BTXCRT}
+
+DPADD= ${LIBFICL} ${LIBI386} ${LIBSTAND}
+LDADD= ${LIBFICL} ${LIBI386} -lstand
.include <bsd.prog.mk>