diff --git a/kernel/Makefile b/kernel/Makefile index c16eadcc9..6604392cf 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -80,18 +80,18 @@ CPPFLAGS+= -DUSE_TRACE CLEANFILES+=extracted-errno.h extracted-mfield.h extracted-mtype.h procoffsets.h -debug.o: extracted-errno.h extracted-mfield.h extracted-mtype.h +debug.o debug.d: extracted-errno.h extracted-mfield.h extracted-mtype.h extracted-errno.h: extract-errno.sh ../include/errno.h ${_MKTARGET_CREATE} - cd ${.CURDIR} ; ${HOST_SH} extract-errno.sh > ${.OBJDIR}/extracted-errno.h + cd ${.CURDIR} ; ${HOST_SH} extract-errno.sh > extracted-errno.h extracted-mfield.h: extract-mfield.sh ../lib/libc/sys-minix/*.c ../lib/libsys/*.c ${_MKTARGET_CREATE} - cd ${.CURDIR} ; ${HOST_SH} extract-mfield.sh > ${.OBJDIR}/extracted-mfield.h + cd ${.CURDIR} ; ${HOST_SH} extract-mfield.sh > extracted-mfield.h extracted-mtype.h: extract-mtype.sh ../include/minix/com.h ${_MKTARGET_CREATE} - cd ${.CURDIR} ; ${HOST_SH} extract-mtype.sh > ${.OBJDIR}/extracted-mtype.h + cd ${.CURDIR} ; ${HOST_SH} extract-mtype.sh > extracted-mtype.h .include diff --git a/kernel/debug.h b/kernel/debug.h index a41dd77f0..356d326b4 100644 --- a/kernel/debug.h +++ b/kernel/debug.h @@ -44,7 +44,7 @@ * virtual machine if you enable this; on the hardware it would take forever * just to boot */ -#define DEBUG_DUMPIPC 0 +#define DEBUG_DUMPIPC 1 /* If defined, restrict DEBUG_DUMPIPC to particular process names */ /* #define DEBUG_DUMPIPC_NAMES { "tty", "inet" } */ diff --git a/kernel/extract-errno.sh b/kernel/extract-errno.sh index 0629f03a0..09ba67bba 100644 --- a/kernel/extract-errno.sh +++ b/kernel/extract-errno.sh @@ -8,5 +8,5 @@ tr -s ' \t' ' ' | \ sed 's/^# /#/' | \ egrep '^#define [A-Z_][A-Z0-9_]* \( ?_SIGN ?[0-9]+ ?\)' | \ cut -d' ' -f2 | \ -sed 's/\(.*\)/IDENT(\1)/' | \ +sed 's/\(.*\)/IDENT(\1)/' | grep -v ELAST | \ sort