From 9f2636a8cf477dd5807838f7c6153a4b47c7d3fc Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Mon, 2 Jun 2003 02:37:27 +0000 Subject: Don't use a C compiler to assemble a pure asm file. --- sys/boot/i386/libi386/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'sys') 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 -- cgit v1.3