From: Derrick Brashear Date: Fri, 19 Jan 2001 09:56:54 +0000 (+0000) Subject: STABLE10-linux-kdump-build-against-kernel-headers-20010119 X-Git-Tag: openafs-stable-1_0_2~8 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=ef4c0c0a66a3eca0dccf8f0a8638b34618c9f18a;p=packages%2Fo%2Fopenafs.git STABLE10-linux-kdump-build-against-kernel-headers-20010119 make linux kdump attempt to build against same kernel headers as the kernel module (cherry picked from commit 57ee0438440040560c5b3517cd95b3d85a984b96) --- diff --git a/src/venus/Makefile b/src/venus/Makefile index c10e302b5..717015fb0 100644 --- a/src/venus/Makefile +++ b/src/venus/Makefile @@ -159,6 +159,8 @@ cmdebug: cmdebug.o ${CMLIBS} kdump.o: kdump.c ${INCLS} AFS_component_version_number.c set -x; \ case ${SYS_NAME} in \ + *linux* ) \ + ${CC} -g -I${LINUX_SRCDIR}${LINUX_VERS}/include -I${DESTDIR}include -I${SRCDIR}include ${XCFLAGS} -c kdump.c ;; \ alpha_osf1 | alpha_osf20 | alpha_osf30 | alpha_osf32 | alpha_osf32c| alpha_dux?? ) \ ${CC} -g ${CFLAGS} -I/usr/sys/include -I/usr/sys/BINARY -I/usr/sys/AFS -DDEBUGGER -c kdump.c ;;\ sgi_6? ) \