diff options
| author | Bryan Drewery <bdrewery@FreeBSD.org> | 2016-11-13 00:11:15 +0000 |
|---|---|---|
| committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2016-11-13 00:11:15 +0000 |
| commit | 7c6d0bb1a04aa66006b38ea158a92d0543b57896 (patch) | |
| tree | 035e3651d88036444c65cacae4cfe1ef72c15192 /lib/libsysdecode | |
| parent | 5e1eb60d943d42d38113a8c3f2df04899d488948 (diff) | |
Notes
Diffstat (limited to 'lib/libsysdecode')
| -rw-r--r-- | lib/libsysdecode/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libsysdecode/Makefile b/lib/libsysdecode/Makefile index 692bfbf6f08d..b84ef4e615b8 100644 --- a/lib/libsysdecode/Makefile +++ b/lib/libsysdecode/Makefile @@ -114,7 +114,12 @@ DEPENDOBJS+= tables.h tables.h: mktables sh ${.CURDIR}/mktables ${DESTDIR}${INCLUDEDIR} ${.TARGET} -ioctl.c: mkioctls +# mkioctls runs find(1) for headers so needs to rebuild every time. This used +# to be a hack only done in buildworld. +.if !defined(_SKIP_BUILD) +ioctl.c: .PHONY +.endif +ioctl.c: mkioctls .META env MACHINE=${MACHINE} CPP="${CPP}" \ /bin/sh ${.CURDIR}/mkioctls ${DESTDIR}${INCLUDEDIR} > ${.TARGET} |
