libsysdecode: Use consistent include path

mkioctls should look at the same set of headers as mktables does.

MFC after:	1 week
Fixes:          139d114acc ("libsysdecode use MKTABLES_INCLUDEDIR")
Sponsored by:	Klara, Inc.
Sponsored by:	NetApp, Inc.
Reviewed by:	sjg
Differential Revision:	https://reviews.freebsd.org/D54106
This commit is contained in:
Dag-Erling Smørgrav
2025-12-07 14:06:41 +01:00
parent 3f10e59850
commit c51876a107
+1 -1
View File
@@ -144,7 +144,7 @@ ioctl.c.tmp: .PHONY
.endif
ioctl.c.tmp: mkioctls .META
env CPP="${CPP}" MK_PF="${MK_PF}" \
/bin/sh ${.CURDIR}/mkioctls ${SYSROOT:U${DESTDIR}}${INCLUDEDIR} > ${.TARGET}
/bin/sh ${.CURDIR}/mkioctls ${MKTABLES_INCLUDEDIR} > ${.TARGET}
ioctl.c: ioctl.c.tmp
if [ ! -e ${.TARGET} ] || ! cmp -s ${.TARGET} ${.TARGET}.tmp; then \