diff options
author | marcel <marcel@FreeBSD.org> | 1999-12-23 19:59:47 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 1999-12-23 19:59:47 +0000 |
commit | 95103d131256d6e42c877c35c6f106d54703473c (patch) | |
tree | df52ce78bc761eab64e099930da15e011289b385 /sys/modules | |
parent | ed6a1fb0ef00f1388cfb6aebfd3157733fe49e4c (diff) | |
download | FreeBSD-src-95103d131256d6e42c877c35c6f106d54703473c.zip FreeBSD-src-95103d131256d6e42c877c35c6f106d54703473c.tar.gz |
Use genassym(1) and <sys/assym.h> to generate assembler symbols.
Diffstat (limited to 'sys/modules')
-rw-r--r-- | sys/modules/linux/Makefile | 11 |
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 |