From ef4c0c0a66a3eca0dccf8f0a8638b34618c9f18a Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Fri, 19 Jan 2001 09:56:54 +0000 Subject: [PATCH] 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) --- src/venus/Makefile | 2 ++ 1 file changed, 2 insertions(+) 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? ) \ -- 2.39.5