Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/lkm/arch/mac68k/iwm Add an explicit transformation for i...
details: https://anonhg.NetBSD.org/src/rev/e7395492b069
branches: trunk
changeset: 521782:e7395492b069
user: fredb <fredb%NetBSD.org@localhost>
date: Tue Feb 05 15:26:52 2002 +0000
description:
Add an explicit transformation for iwm.s -> iwm.o, patterned after the
kernel's ${NORMAL_S}. In particular, we need the ${CPPFLAGS} from
<bsd.kmod.mk> to support non-self-hosted builds. (Changing iwm.s to iwm.S
would also work.)
diffstat:
sys/lkm/arch/mac68k/iwm/Makefile | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 9cc046843cb3 -r e7395492b069 sys/lkm/arch/mac68k/iwm/Makefile
--- a/sys/lkm/arch/mac68k/iwm/Makefile Tue Feb 05 15:03:50 2002 +0000
+++ b/sys/lkm/arch/mac68k/iwm/Makefile Tue Feb 05 15:26:52 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 1999/04/03 08:28:50 scottr Exp $
+# $NetBSD: Makefile,v 1.4 2002/02/05 15:26:52 fredb Exp $
#
# Makefile for loadable iwm device driver kernel module
#
@@ -25,6 +25,9 @@
AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE -I$S/arch
+iwm.o: iwm.s
+ ${CPP} ${AFLAGS} ${CPPFLAGS} ${.IMPSRC} | sed -e 's/^#.*//' | \
+ ${AS} -o ${.TARGET}
.include <bsd.kmod.mk>
Home |
Main Index |
Thread Index |
Old Index