mirror of
https://git.openafs.org/openafs.git
synced 2025-01-22 17:00:15 +00:00
FBSD: allow exclusion of kernel symbols
Gerrit/5503 added support for kernel module symbols in the bsd.kmod.mk world; however, the inclusion of symbols is conditoinal on the DEBUG_FLAGS make variable being *set*, as opposed to nonempty. So we must use an intermediate variable to store the AC_SUBST result and conditionalize assignment to DEBUG_FLAGS on whether or not it is empty. Change-Id: I7f86fd08d6dcf1ac7116680db98db13f5f31be7b Reviewed-on: http://gerrit.openafs.org/5507 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Derrick Brashear <shadow@dementix.org>
This commit is contained in:
parent
9133aa6ed3
commit
5e8c4b7c8a
@ -47,7 +47,10 @@ KSRC = @BSD_KERNEL_PATH@
|
||||
KBLD = @BSD_KERNEL_BUILD@
|
||||
|
||||
# keep symbols if --enable-debug-kernel
|
||||
DEBUG_FLAGS = @DEBUG_FLAGS@
|
||||
AC_DEBUG_FLAGS = @DEBUG_FLAGS@
|
||||
.if !empty(AC_DEBUG_FLAGS)
|
||||
DEBUG_FLAGS= ${AC_DEBUG_FLAGS}
|
||||
.endif
|
||||
|
||||
# We are not doing very well (WARNS=2 brings in printf format type checking)
|
||||
WARNS= 1
|
||||
|
Loading…
Reference in New Issue
Block a user