From: Marc Dionne Date: Sat, 18 Jul 2009 01:29:10 +0000 (-0400) Subject: Disable kdump build on linux 2.6 X-Git-Tag: openafs-devel-1_5_61~88 X-Git-Url: https://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=25eb69a32aac30f50a33432664c287984f24162c Disable kdump build on linux 2.6 Don't try to build kdump on linux 2.6 where it has been known to be broken for a long time. The build failure was ignored, but produced a large number of errors and warnings, polluting the build log. On a test amd64_linux26 system with a recent kernel and --enable-warnings, this results in over 750 fewer warnings and 100+ fewer errors. Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/150 Tested-by: Russ Allbery Reviewed-by: Russ Allbery --- diff --git a/src/venus/Makefile.in b/src/venus/Makefile.in index 1af3c7b..0247e98 100644 --- a/src/venus/Makefile.in +++ b/src/venus/Makefile.in @@ -157,6 +157,8 @@ kdump: kdump.o ;; \ esac || exit $$? ; \ done ;; \ + *linux26* | *linux_26* ) \ + touch kdump ;; \ *alpha_linux* ) \ $(MAKE) kdump-alpha_linux-@LINUX_VERSION@ ;; \ *linux* ) \ @@ -180,6 +182,8 @@ kdump64: kdump.o: kdump.c ${INCLS} AFS_component_version_number.c -set -x; \ case ${SYS_NAME} in \ + *linux26* | *linux_26* ) \ + touch kdump.o ;; \ alpha_linux* ) \ $(MAKE) kdump-alpha_linux-${LINUX_VERSION}.o ;; \ *linux* ) \ @@ -281,6 +285,8 @@ install: kdump-build fs livesys up fstrace cmdebug sun*_5[789] | sun*_510 ) \ ${INSTALL_SCRIPT} kdump.sh.solaris7 ${DESTDIR}${sbindir}/kdump32; \ ${INSTALL_PROGRAM} kdump-build ${DESTDIR}${sbindir}/kdump;; \ + *linux26* | *linux_26* ) \ + ;; \ *linux* ) \ ${INSTALL_SCRIPT} kdump.sh.linux ${DESTDIR}${sbindir}/kdump; \ ${INSTALL_PROGRAM} kdump-build ${DESTDIR}${sbindir}/kdump ;; \ @@ -317,6 +323,8 @@ dest: kdump-build fs livesys up fstrace cmdebug sun*_5[789] | sun*_510 ) \ ${INSTALL_SCRIPT} ${srcdir}/kdump.sh.solaris7 ${DEST}/etc/kdump; \ ${INSTALL_PROGRAM} ${srcdir}/kdump ${DEST}/etc/kdump32;; \ + *linux26* | *linux_26* ) \ + ;; \ *alpha_linux* ) \ ${INSTALL_SCRIPT} ${srcdir}/kdump.sh.linux ${DEST}/etc/kdump; \ ${INSTALL_PROGRAM} kdump-alpha_linux-${LINUX_VERSION} ${DEST}/etc/kdump-${LINUX_VERSION} ;; \