Clarify DTR_ENABLED make variable
Rename it to DTRACE_ENABLED. Suggested by: jhb MFC after: 3 days Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
122405c903
commit
8372afd096
@ -33,7 +33,7 @@ S= ../../..
|
||||
|
||||
INCLUDES+= -I$S/contrib/libfdt
|
||||
|
||||
.if !empty(DDB_ENABLED) || !empty(DTR_ENABLED) || !empty(HWPMC_ENABLED)
|
||||
.if !empty(DDB_ENABLED) || !empty(DTRACE_ENABLED) || !empty(HWPMC_ENABLED)
|
||||
CFLAGS+= -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
|
||||
.endif
|
||||
|
||||
|
@ -62,7 +62,7 @@ SYSTEM_LD= \
|
||||
KERNEL_EXTRA+= ${KERNEL_KO}.bin
|
||||
KERNEL_EXTRA_INSTALL+= ${KERNEL_KO}.bin
|
||||
|
||||
.if !empty(DDB_ENABLED) || !empty(DTR_ENABLED) || !empty(HWPMC_ENABLED)
|
||||
.if !empty(DDB_ENABLED) || !empty(DTRACE_ENABLED) || !empty(HWPMC_ENABLED)
|
||||
CFLAGS += -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
|
||||
.endif
|
||||
|
||||
|
@ -367,5 +367,5 @@ MKMODULESENV+= __MPATH="${__MPATH}"
|
||||
|
||||
# Detect kernel config options that force stack frames to be turned on.
|
||||
DDB_ENABLED!= grep DDB opt_ddb.h || true ; echo
|
||||
DTR_ENABLED!= grep KDTRACE_FRAME opt_kdtrace.h || true ; echo
|
||||
DTRACE_ENABLED!=grep KDTRACE_FRAME opt_kdtrace.h || true ; echo
|
||||
HWPMC_ENABLED!= grep HWPMC opt_hwpmc_hooks.h || true ; echo
|
||||
|
Loading…
Reference in New Issue
Block a user