]> git.michaelhowe.org Git - packages/o/openafs.git/commit
LINUX: Bring debug symbols back to the Linux kernel module.
authorJoe Gorse <jhgorse@gmail.com>
Thu, 16 Feb 2017 23:01:50 +0000 (18:01 -0500)
committerStephan Wiesand <stephan.wiesand@desy.de>
Wed, 8 Mar 2017 09:08:57 +0000 (04:08 -0500)
commit92b1ddf8d439dc42ff0d9dd457e22d38d8a890cc
tree347b5132b7f69f52634f0e979912b4c9e88c2bab
parentb032154f11ec81aee7a132992d0c5611cc630ec4
LINUX: Bring debug symbols back to the Linux kernel module.

Starting with 4.8 Linux kernels our existing build script
generator, make_kbuild_makefile.pl, does not pass the debugging
symbols CFLAGS that were present when building for previous kernels.

This fix appends the $(KERN_DBG) variable which will only be defined
when the configuration includes the --enable-debug-kernel option.

Reviewed-on: https://gerrit.openafs.org/12519
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Tested-by: Benjamin Kaduk <kaduk@mit.edu>
(cherry picked from commit 961cee00b8f5c302de5f66beb81caa33242c7971)

Change-Id: I1d16382c4a744d4624cac9a9ba2810fa664abe93
Reviewed-on: https://gerrit.openafs.org/12534
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/libafs/MakefileProto.LINUX.in