libsysdecode: Use consistent include path
Some checks are pending
Cross-build Kernel / amd64 ubuntu-22.04 (clang-15) (push) Waiting to run
Cross-build Kernel / aarch64 ubuntu-22.04 (clang-15) (push) Waiting to run
Cross-build Kernel / amd64 ubuntu-24.04 (clang-18) (push) Waiting to run
Cross-build Kernel / aarch64 ubuntu-24.04 (clang-18) (push) Waiting to run
Cross-build Kernel / amd64 macos-latest (clang-18) (push) Waiting to run
Cross-build Kernel / aarch64 macos-latest (clang-18) (push) Waiting to run

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

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 \