From: Russ Allbery Date: Sat, 25 Sep 2010 03:31:27 +0000 (-0700) Subject: Fix the default kernel build path X-Git-Tag: debian/1.5.77-2~2 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=aea86bcb02b74e85ba4eeb332981f4bf9bce0876;p=packages%2Fo%2Fopenafs.git Fix the default kernel build path Use /build, not /source, since the latter points to the common headers and not the arch-specific ones. --- diff --git a/debian/changelog b/debian/changelog index a9e745dec..db35fcddb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,7 +7,7 @@ openafs (1.5.77-2) UNRELEASED; urgency=low - [e36b4e00] Update bos create man page for new demand-attach * Add backslashes to the DKMS command, which will be required once DKMS uses proper shell quoting. - * In openafs-modules-source, use /lib/modules/`uname -r`/source as the + * In openafs-modules-source, use /lib/modules/`uname -r`/build as the default path to the kernel headers rather than /usr/src/linux. Current kernel header packages will create an appropriate symlink there. This default is only used when neither module-assistant nor diff --git a/debian/module/rules b/debian/module/rules index c03033f49..6cfc96269 100755 --- a/debian/module/rules +++ b/debian/module/rules @@ -12,7 +12,7 @@ endif # Find kernel build information. ifndef KSRC - KSRC := /lib/modules/$(shell uname -r)/source + KSRC := /lib/modules/$(shell uname -r)/build endif ifndef KPKG_DEST_DIR KPKG_DEST_DIR = ..