summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1998-07-07 02:04:20 +0000
committerBruce Evans <bde@FreeBSD.org>1998-07-07 02:04:20 +0000
commit8c1a5985d23713490c8f74e54894d56cabec9976 (patch)
treec5a56216e34183cdf1f0b50984516cd71183038d
parent6d31e616a0d9a6056d89767149f0c6c5b13e3dab (diff)
Notes
-rw-r--r--lkm/linux/Makefile6
-rw-r--r--sys/modules/linux/Makefile6
2 files changed, 8 insertions, 4 deletions
diff --git a/lkm/linux/Makefile b/lkm/linux/Makefile
index 494574c2f9a3..d4a14f4756c3 100644
--- a/lkm/linux/Makefile
+++ b/lkm/linux/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.16 1998/03/19 12:35:55 bde Exp $
+# $Id: Makefile,v 1.17 1998/07/01 17:10:00 bde Exp $
.PATH: ${.CURDIR}/../../sys/i386/linux
KMOD= linux_mod
@@ -14,6 +14,8 @@ EXPORT_SYMS=_linux_mod
CLEANFILES+= vnode_if.h vnode_if.c linux_genassym.o linux_genassym \
linux_assym.h opt_compat.h opt_linux.h opt_vmpage.h
+build-tools: linux_genassym
+
linux_assym.h: linux_genassym
./linux_genassym > linux_assym.h
@@ -25,7 +27,7 @@ linux_genassym.o: linux_genassym.c linux.h @ machine
${CC} -c ${CFLAGS} -UKERNEL ${.IMPSRC}
linux_genassym: linux_genassym.o
- ${CC} ${CFLAGS} ${.ALLSRC} -o ${.TARGET}
+ ${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.ALLSRC}
opt_compat.h:
echo "#define COMPAT_43 1" > opt_compat.h
diff --git a/sys/modules/linux/Makefile b/sys/modules/linux/Makefile
index 494574c2f9a3..d4a14f4756c3 100644
--- a/sys/modules/linux/Makefile
+++ b/sys/modules/linux/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.16 1998/03/19 12:35:55 bde Exp $
+# $Id: Makefile,v 1.17 1998/07/01 17:10:00 bde Exp $
.PATH: ${.CURDIR}/../../sys/i386/linux
KMOD= linux_mod
@@ -14,6 +14,8 @@ EXPORT_SYMS=_linux_mod
CLEANFILES+= vnode_if.h vnode_if.c linux_genassym.o linux_genassym \
linux_assym.h opt_compat.h opt_linux.h opt_vmpage.h
+build-tools: linux_genassym
+
linux_assym.h: linux_genassym
./linux_genassym > linux_assym.h
@@ -25,7 +27,7 @@ linux_genassym.o: linux_genassym.c linux.h @ machine
${CC} -c ${CFLAGS} -UKERNEL ${.IMPSRC}
linux_genassym: linux_genassym.o
- ${CC} ${CFLAGS} ${.ALLSRC} -o ${.TARGET}
+ ${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.ALLSRC}
opt_compat.h:
echo "#define COMPAT_43 1" > opt_compat.h