summaryrefslogtreecommitdiffstats
path: root/sys/modules/linux
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>1999-12-23 19:59:47 +0000
committermarcel <marcel@FreeBSD.org>1999-12-23 19:59:47 +0000
commit95103d131256d6e42c877c35c6f106d54703473c (patch)
treedf52ce78bc761eab64e099930da15e011289b385 /sys/modules/linux
parented6a1fb0ef00f1388cfb6aebfd3157733fe49e4c (diff)
downloadFreeBSD-src-95103d131256d6e42c877c35c6f106d54703473c.zip
FreeBSD-src-95103d131256d6e42c877c35c6f106d54703473c.tar.gz
Use genassym(1) and <sys/assym.h> to generate assembler symbols.
Diffstat (limited to 'sys/modules/linux')
-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 7c5a53e..1e7a5ce 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
OpenPOWER on IntegriCloud