kernel: add dependency for DEBUG_DUMPIPC mode
. also resilience against future ELAST duplicate errno Change-Id: I9d10702c8e09699a40138193f14defe902399da6
This commit is contained in:
parent
cb5e2921b3
commit
b22601d2c6
|
|
@ -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.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 <minix.service.mk>
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user