summaryrefslogtreecommitdiff
path: root/sys/modules/linux/Makefile
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>1999-12-23 19:59:47 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>1999-12-23 19:59:47 +0000
commit00d6d49adc30f55401a468e028a7adce06634509 (patch)
treee8f731b33e7ba04f968a3eddd5250476c4b222fb /sys/modules/linux/Makefile
parenta6b91b497bc81eef8a86f0ae511d250803f2784d (diff)
Notes
Diffstat (limited to 'sys/modules/linux/Makefile')
-rw-r--r--sys/modules/linux/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/sys/modules/linux/Makefile b/sys/modules/linux/Makefile
index 7c5a53e3e43f..1e7a5ce3410d 100644
--- a/sys/modules/linux/Makefile
+++ b/sys/modules/linux/Makefile
@@ -14,12 +14,10 @@ MAN8= linux.8
# CFLAGS+= -DDEBUG
EXPORT_SYMS=_linux_mod
-CLEANFILES= linux_assym.h linux_genassym linux_genassym.o
+CLEANFILES= linux_assym.h linux_genassym.o
-build-tools: linux_genassym
-
-linux_assym.h: linux_genassym
- ./linux_genassym > linux_assym.h
+linux_assym.h: linux_genassym.o
+ genassym -o ${.TARGET} ${.ALLSRC}
linux_locore.o: linux_locore.s linux_assym.h
${CC} -c -x assembler-with-cpp -DLOCORE -DKERNEL ${CFLAGS} \
@@ -28,9 +26,6 @@ linux_locore.o: linux_locore.s linux_assym.h
linux_genassym.o: linux_genassym.c linux.h @ machine
${CC} -c ${CFLAGS} -UKERNEL ${.IMPSRC}
-linux_genassym: linux_genassym.o
- ${CC} -static ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.ALLSRC}
-
opt_compat.h:
echo "#define COMPAT_43 1" > opt_compat.h