diff options
author | ru <ru@FreeBSD.org> | 2004-02-27 14:10:09 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2004-02-27 14:10:09 +0000 |
commit | 84b2428dd3d99604fb1ac3cf7211ad9404d5f62b (patch) | |
tree | 2aec4374306c7513f64c2c0d62c20c6163f0f0a5 /sys/boot | |
parent | 9c0d0ba7c86b64d8a30376d5222c361348fd8c1e (diff) | |
download | FreeBSD-src-84b2428dd3d99604fb1ac3cf7211ad9404d5f62b.zip FreeBSD-src-84b2428dd3d99604fb1ac3cf7211ad9404d5f62b.tar.gz |
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.
Diffstat (limited to 'sys/boot')
-rw-r--r-- | sys/boot/i386/loader/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/boot/i386/loader/Makefile b/sys/boot/i386/loader/Makefile index ed6d5d3..55152bb 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> |