LINUX: Bring debug symbols back to the Linux kernel module. 19/12519/3
authorJoe Gorse <jhgorse@gmail.com>
Thu, 16 Feb 2017 23:01:50 +0000 (18:01 -0500)
committerBenjamin Kaduk <kaduk@mit.edu>
Mon, 20 Feb 2017 18:40:45 +0000 (13:40 -0500)
commit961cee00b8f5c302de5f66beb81caa33242c7971
treeb8fdc7edc92b2711a5ca2e3cd2efa01db72f7625
parent9bc6fd9312a2be591cc831d9b0afd91e53eec6fc
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.

Change-Id: I9a85dc0311a3a706239bc9e471b2d7197ebe1946
Reviewed-on: https://gerrit.openafs.org/12519
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Tested-by: Benjamin Kaduk <kaduk@mit.edu>
src/libafs/MakefileProto.LINUX.in