mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 15:30:14 +00:00
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 <rra@stanford.edu> Reviewed-by: Russ Allbery <rra@stanford.edu>
This commit is contained in:
parent
0b3e7a0747
commit
25eb69a32a
@ -157,6 +157,8 @@ kdump: kdump.o
|
|||||||
;; \
|
;; \
|
||||||
esac || exit $$? ; \
|
esac || exit $$? ; \
|
||||||
done ;; \
|
done ;; \
|
||||||
|
*linux26* | *linux_26* ) \
|
||||||
|
touch kdump ;; \
|
||||||
*alpha_linux* ) \
|
*alpha_linux* ) \
|
||||||
$(MAKE) kdump-alpha_linux-@LINUX_VERSION@ ;; \
|
$(MAKE) kdump-alpha_linux-@LINUX_VERSION@ ;; \
|
||||||
*linux* ) \
|
*linux* ) \
|
||||||
@ -180,6 +182,8 @@ kdump64:
|
|||||||
kdump.o: kdump.c ${INCLS} AFS_component_version_number.c
|
kdump.o: kdump.c ${INCLS} AFS_component_version_number.c
|
||||||
-set -x; \
|
-set -x; \
|
||||||
case ${SYS_NAME} in \
|
case ${SYS_NAME} in \
|
||||||
|
*linux26* | *linux_26* ) \
|
||||||
|
touch kdump.o ;; \
|
||||||
alpha_linux* ) \
|
alpha_linux* ) \
|
||||||
$(MAKE) kdump-alpha_linux-${LINUX_VERSION}.o ;; \
|
$(MAKE) kdump-alpha_linux-${LINUX_VERSION}.o ;; \
|
||||||
*linux* ) \
|
*linux* ) \
|
||||||
@ -281,6 +285,8 @@ install: kdump-build fs livesys up fstrace cmdebug
|
|||||||
sun*_5[789] | sun*_510 ) \
|
sun*_5[789] | sun*_510 ) \
|
||||||
${INSTALL_SCRIPT} kdump.sh.solaris7 ${DESTDIR}${sbindir}/kdump32; \
|
${INSTALL_SCRIPT} kdump.sh.solaris7 ${DESTDIR}${sbindir}/kdump32; \
|
||||||
${INSTALL_PROGRAM} kdump-build ${DESTDIR}${sbindir}/kdump;; \
|
${INSTALL_PROGRAM} kdump-build ${DESTDIR}${sbindir}/kdump;; \
|
||||||
|
*linux26* | *linux_26* ) \
|
||||||
|
;; \
|
||||||
*linux* ) \
|
*linux* ) \
|
||||||
${INSTALL_SCRIPT} kdump.sh.linux ${DESTDIR}${sbindir}/kdump; \
|
${INSTALL_SCRIPT} kdump.sh.linux ${DESTDIR}${sbindir}/kdump; \
|
||||||
${INSTALL_PROGRAM} kdump-build ${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 ) \
|
sun*_5[789] | sun*_510 ) \
|
||||||
${INSTALL_SCRIPT} ${srcdir}/kdump.sh.solaris7 ${DEST}/etc/kdump; \
|
${INSTALL_SCRIPT} ${srcdir}/kdump.sh.solaris7 ${DEST}/etc/kdump; \
|
||||||
${INSTALL_PROGRAM} ${srcdir}/kdump ${DEST}/etc/kdump32;; \
|
${INSTALL_PROGRAM} ${srcdir}/kdump ${DEST}/etc/kdump32;; \
|
||||||
|
*linux26* | *linux_26* ) \
|
||||||
|
;; \
|
||||||
*alpha_linux* ) \
|
*alpha_linux* ) \
|
||||||
${INSTALL_SCRIPT} ${srcdir}/kdump.sh.linux ${DEST}/etc/kdump; \
|
${INSTALL_SCRIPT} ${srcdir}/kdump.sh.linux ${DEST}/etc/kdump; \
|
||||||
${INSTALL_PROGRAM} kdump-alpha_linux-${LINUX_VERSION} ${DEST}/etc/kdump-${LINUX_VERSION} ;; \
|
${INSTALL_PROGRAM} kdump-alpha_linux-${LINUX_VERSION} ${DEST}/etc/kdump-${LINUX_VERSION} ;; \
|
||||||
|
Loading…
Reference in New Issue
Block a user