mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 05:27:44 +00:00
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>
This commit is contained in:
parent
b032154f11
commit
92b1ddf8d4
@ -148,7 +148,7 @@ DEFINES = $(COMMON_DEFINES)
|
||||
INCLUDES = -I. -I../ -I${TOP_OBJDIR}/src/config \
|
||||
-I${TOP_SRCDIR}/rx -I${TOP_OBJDIR}/src/rxstat
|
||||
|
||||
CFLAGS = $(CCFLAGS) $(DEFINES) $(INCLUDES)
|
||||
CFLAGS = $(CCFLAGS) $(KERN_DBG) $(DEFINES) $(INCLUDES)
|
||||
|
||||
# Name of directory to hold object files and libraries.
|
||||
KOBJ = MODLOAD
|
||||
|
Loading…
x
Reference in New Issue
Block a user