From fe343bb002d72eeedbe55d9bc38c641190a77b37 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Thu, 22 Jul 2010 22:04:37 +0000 Subject: [PATCH] Make kernel ipc log scripts work for separate ${.OBJDIR}. contributed by Antoine Leca. --- kernel/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/kernel/Makefile b/kernel/Makefile index bea51f22c..ae199c5ec 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -37,13 +37,16 @@ MAN= debug.d: extracted-errno.h extracted-mfield.h extracted-mtype.h extracted-errno.h: extract-errno.sh ../include/errno.h - sh extract-errno.sh > extracted-errno.h + ${_MKTARGET_CREATE} + cd ${.CURDIR} ; sh extract-errno.sh > ${.OBJDIR}/extracted-errno.h extracted-mfield.h: extract-mfield.sh ../lib/libc/other/*.c ../lib/libc/posix/*.c ../lib/libsys/*.c - sh extract-mfield.sh > extracted-mfield.h + ${_MKTARGET_CREATE} + cd ${.CURDIR} ; sh extract-mfield.sh > ${.OBJDIR}/extracted-mfield.h extracted-mtype.h: extract-mtype.sh ../include/minix/com.h - sh extract-mtype.sh > extracted-mtype.h + ${_MKTARGET_CREATE} + cd ${.CURDIR} ; sh extract-mtype.sh > ${.OBJDIR}/extracted-mtype.h clean: rm -f extracted-errno.h extracted-mfield.h extracted-mtype.h -- 2.44.0