summaryrefslogtreecommitdiffstats
path: root/sys/modules/svr4/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules/svr4/Makefile')
-rw-r--r--sys/modules/svr4/Makefile5
1 files changed, 4 insertions, 1 deletions
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