Create MK_LOADER_VERBOSE and connect it to ELF_VERBOSE in the loader
code. PR: 18498 Submitted by: mellon at pobox dot com
This commit is contained in:
parent
c418d575d3
commit
02962790a9
@ -204,6 +204,7 @@ __DEFAULT_NO_OPTIONS = \
|
||||
LIBSOFT \
|
||||
LOADER_FIREWIRE \
|
||||
LOADER_FORCE_LE \
|
||||
LOADER_VERBOSE \
|
||||
NAND \
|
||||
OFED_EXTRA \
|
||||
OPENLDAP \
|
||||
|
@ -155,6 +155,10 @@ vers.c: ${LDRSRC}/newvers.sh ${VERSION_FILE}
|
||||
sh ${LDRSRC}/newvers.sh ${REPRO_FLAG} ${VERSION_FILE} \
|
||||
${NEWVERSWHAT}
|
||||
|
||||
.if ${MK_LOADER_VERBOSE} != "no"
|
||||
CFLAGS+= -DELF_VERBOSE
|
||||
.endif
|
||||
|
||||
.if !empty(HELP_FILES)
|
||||
HELP_FILES+= ${LDRSRC}/help.common
|
||||
|
||||
|
5
tools/build/options/WITH_LOADER_VERBOSE
Normal file
5
tools/build/options/WITH_LOADER_VERBOSE
Normal file
@ -0,0 +1,5 @@
|
||||
.\" $FreeBSD$
|
||||
Set to build with extra verbose debugging in the loader.
|
||||
May explode already nearly too large loader over the limit.
|
||||
Use with care.
|
||||
|
Loading…
Reference in New Issue
Block a user