summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2003-06-02 02:37:27 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2003-06-02 02:37:27 +0000
commit9f2636a8cf477dd5807838f7c6153a4b47c7d3fc (patch)
tree989290d64820f53afb0f587c6c92cffb902652d4 /sys
parent0c60c0c3bbd0e66bc2f1ff772bca75326987d245 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/boot/i386/libi386/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/boot/i386/libi386/Makefile b/sys/boot/i386/libi386/Makefile
index b7cb2cc852b6..22ee1e505d40 100644
--- a/sys/boot/i386/libi386/Makefile
+++ b/sys/boot/i386/libi386/Makefile
@@ -7,7 +7,7 @@ SRCS= biosacpi.c bioscd.c biosdisk.c biosmem.c biospnp.c \
biospci.c biossmap.c bootinfo.c bootinfo32.c bootinfo64.c \
comconsole.c devicename.c elf32_freebsd.c \
elf64_freebsd.c gatea20.c \
- i386_copy.c i386_module.c nullconsole.c pxe.c pxetramp.s \
+ i386_copy.c i386_module.c nullconsole.c pxe.c \
time.c vidconsole.c amd64_tramp.S
CFLAGS+= -ffreestanding
@@ -39,11 +39,14 @@ ${SRCS:M*.c:R:S/$/.o/g}: machine
.if exists(${.CURDIR}/../../../i386/include)
beforedepend ${OBJS}: machine
+CLEANFILES+= machine
machine:
ln -sf ${.CURDIR}/../../../i386/include machine
.endif
-CLEANFILES+= machine
+OBJS+= pxetramp.o
+pxetramp.o: pxetramp.s
+ as -o ${.TARGET} ${.ALLSRC:M*pxetramp*}
.include <bsd.lib.mk>