summaryrefslogtreecommitdiffstats
path: root/sys/boot/i386/btx
diff options
context:
space:
mode:
authorrnordier <rnordier@FreeBSD.org>1998-10-11 11:27:48 +0000
committerrnordier <rnordier@FreeBSD.org>1998-10-11 11:27:48 +0000
commitacc5d22f1d63ba76e5c6aad775e37ede9e30ef62 (patch)
tree95c77aea2bcc05fef2c3d7ffb5716a889d0a186f /sys/boot/i386/btx
parent9777d362922a963a38f00ecf39efb50c82329489 (diff)
downloadFreeBSD-src-acc5d22f1d63ba76e5c6aad775e37ede9e30ef62.zip
FreeBSD-src-acc5d22f1d63ba76e5c6aad775e37ede9e30ef62.tar.gz
Override for ELF. Override .s.o suffix rule.
Diffstat (limited to 'sys/boot/i386/btx')
-rw-r--r--sys/boot/i386/btx/lib/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/boot/i386/btx/lib/Makefile b/sys/boot/i386/btx/lib/Makefile
index 2ab34fd..e6fb758 100644
--- a/sys/boot/i386/btx/lib/Makefile
+++ b/sys/boot/i386/btx/lib/Makefile
@@ -1,6 +1,7 @@
-# $Id:$
+# $Id: Makefile,v 1.1 1998/09/14 10:37:00 rnordier Exp $
OBJS= btxcsu.o btxsys.o btxv86.o
+AFLAGS+= -elf
LDFLAGS+= -elf
CLEANFILES+= crt0.o
INTERNALLIB= true
@@ -14,3 +15,6 @@ crt0.o: ${OBJS}
${LD} ${LDFLAGS} -i -o ${.TARGET} ${OBJS}
.include <bsd.lib.mk>
+
+.s.o:
+ ${AS} ${AFLAGS} -o ${.TARGET} ${.IMPSRC}
OpenPOWER on IntegriCloud