summaryrefslogtreecommitdiffstats
path: root/usr.bin/kdump
diff options
context:
space:
mode:
authorsjg <sjg@FreeBSD.org>2015-06-11 14:25:53 +0000
committersjg <sjg@FreeBSD.org>2015-06-11 14:25:53 +0000
commitf9107fd0701393d4b202f32407a4d84e647c8218 (patch)
tree381288d2e8b27fc98d2fde47d8a0cebdd43f64e1 /usr.bin/kdump
parent9b79279d8a3385bc84c84c0a1c489d101fc43fe8 (diff)
downloadFreeBSD-src-f9107fd0701393d4b202f32407a4d84e647c8218.zip
FreeBSD-src-f9107fd0701393d4b202f32407a4d84e647c8218.tar.gz
Use INCLUDEDIR rather than hard coded /usr/include
Differential Revision: D2748 Reviewed by: brooks imp
Diffstat (limited to 'usr.bin/kdump')
-rw-r--r--usr.bin/kdump/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/kdump/Makefile b/usr.bin/kdump/Makefile
index 78a1763..3dbab6b2 100644
--- a/usr.bin/kdump/Makefile
+++ b/usr.bin/kdump/Makefile
@@ -32,14 +32,14 @@ CLEANFILES+= linux32_syscalls.c
ioctl.c: mkioctls
env MACHINE=${MACHINE} CPP="${CPP}" \
- sh ${.CURDIR}/mkioctls print ${DESTDIR}/usr/include > ${.TARGET}
+ sh ${.CURDIR}/mkioctls print ${DESTDIR}${INCLUDEDIR} > ${.TARGET}
kdump_subr.h: mksubr
- sh ${.CURDIR}/mksubr ${DESTDIR}/usr/include | \
+ sh ${.CURDIR}/mksubr ${DESTDIR}${INCLUDEDIR} | \
sed -n 's/^\([a-z].*)\)$$/void \1;/p' >${.TARGET}
kdump_subr.c: mksubr kdump_subr.h
- sh ${.CURDIR}/mksubr ${DESTDIR}/usr/include >${.TARGET}
+ sh ${.CURDIR}/mksubr ${DESTDIR}${INCLUDEDIR} >${.TARGET}
.if (${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386")
sh ${.CURDIR}/../../sys/kern/makesyscalls.sh \
${.CURDIR}/../../sys/${MACHINE_ARCH}/linux/syscalls.master ${.CURDIR}/linux_syscalls.conf
OpenPOWER on IntegriCloud