For some reason crt0.o needs to be linked first for pxeboot(8) to

work.  This is odd because loader(8) doesn't suffer from this problem.
Perhaps pxeboot bootstrap can be fixed to handle this better.
Anyway, PXE booting should work again.
This commit is contained in:
Ruslan Ermilov 2004-02-27 14:10:09 +00:00
parent e0aca24352
commit eec24f3275

View file

@ -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>