summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2000-06-03 07:40:19 +0000
committerbde <bde@FreeBSD.org>2000-06-03 07:40:19 +0000
commita5752e4f08b8857034b17424d81df4d49d349686 (patch)
tree14473de26dfaea4c9ba31995e8cfd4a1d6ac885b /sys
parent66c0eb5d8c98eb6176669c57e89a3c3f604a6009 (diff)
downloadFreeBSD-src-a5752e4f08b8857034b17424d81df4d49d349686.zip
FreeBSD-src-a5752e4f08b8857034b17424d81df4d49d349686.tar.gz
Use the genassym script here too. The linux and svr4 modules were broken.
Diffstat (limited to 'sys')
-rw-r--r--sys/modules/linux/Makefile5
-rw-r--r--sys/modules/svr4/Makefile5
2 files changed, 8 insertions, 2 deletions
diff --git a/sys/modules/linux/Makefile b/sys/modules/linux/Makefile
index fff7c57..2dd5fc6 100644
--- a/sys/modules/linux/Makefile
+++ b/sys/modules/linux/Makefile
@@ -17,7 +17,10 @@ EXPORT_SYMS=_linux_mod
CLEANFILES= linux_assym.h linux_genassym.o
linux_assym.h: linux_genassym.o
- genassym ${.ALLSRC} > ${.TARGET}
+.if exists(@)
+linux_assym.h: @/kern/genassym.sh
+.endif
+ sh @/kern/genassym.sh linux_genassym.o > ${.TARGET}
linux_locore.o: linux_locore.s linux_assym.h
${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \
diff --git a/sys/modules/svr4/Makefile b/sys/modules/svr4/Makefile
index 36fa505..0b8d774 100644
--- a/sys/modules/svr4/Makefile
+++ b/sys/modules/svr4/Makefile
@@ -18,7 +18,10 @@ EXPORT_SYMS=_svr4_mod
CLEANFILES= svr4_assym.h svr4_genassym.o
svr4_assym.h: svr4_genassym.o
- genassym ${.ALLSRC} > ${.TARGET}
+.if exists(@)
+svr4_assym.h: @/kern/genassym.sh
+.endif
+ sh @/kern/genassym.sh svr4_genassym.o > ${.TARGET}
svr4_locore.o: svr4_locore.s svr4_assym.h
${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \
OpenPOWER on IntegriCloud