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.)
This commit is contained in:
parent
19c1a02e8b
commit
31543d3f23
@ -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 @@ CFLAGS= -g -O -m68020-40
|
||||
|
||||
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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user