mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-28 11:57:28 +00:00
I now don't seem to be able to reproduce the -DNOCLEAN buildworld
breakage with ioctl.c. The .depend file should track dependencies just fine, and the worst we can have is to miss new ioctls. But I still think it's a good idea to have -DNOCLEAN build produce the same ioctl.c as it would without -DNOCLEAN. Prodded for a long time by: bde
This commit is contained in:
parent
0445498680
commit
b2490f915f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=94432
@ -246,6 +246,10 @@ buildworld:
|
||||
@echo "--------------------------------------------------------------"
|
||||
.if !defined(NOCLEAN)
|
||||
rm -rf ${WORLDTMP}
|
||||
.else
|
||||
# XXX - These two can depend on any header file.
|
||||
rm -f ${OBJTREE}${.CURDIR}/usr.bin/kdump/ioctl.c
|
||||
rm -f ${OBJTREE}${.CURDIR}/usr.bin/truss/ioctl.c
|
||||
.endif
|
||||
.for _dir in ${USRDIRS}
|
||||
mkdir -p ${WORLDTMP}/${_dir}
|
||||
|
@ -7,11 +7,7 @@ SRCS= kdump.c ioctl.c subr.c
|
||||
.PATH: ${.CURDIR}/../ktrace
|
||||
CLEANFILES+=ioctl.c
|
||||
|
||||
.if make(depend)
|
||||
ioctl.c: .PHONY
|
||||
.else
|
||||
ioctl.c: mkioctls
|
||||
.endif
|
||||
sh ${.CURDIR}/mkioctls ${DESTDIR}/usr/include > ${.TARGET}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -28,11 +28,7 @@ syscalls.h: syscalls.master
|
||||
/bin/sh ${.CURDIR}/../../sys/kern/makesyscalls.sh syscalls.master \
|
||||
${.CURDIR}/i386.conf
|
||||
|
||||
.if make(depend)
|
||||
ioctl.c: .PHONY
|
||||
.else
|
||||
ioctl.c: ${.CURDIR}/../kdump/mkioctls
|
||||
.endif
|
||||
ioctl.c: ${.CURDIR}/../kdump/mkioctls
|
||||
sh ${.CURDIR}/../kdump/mkioctls ${DESTDIR}/usr/include > ${.TARGET}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user