mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
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
d91cc9dd63
commit
f871c5d99d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=342840
|
@ -204,6 +204,7 @@ __DEFAULT_NO_OPTIONS = \
|
||||||
LIBSOFT \
|
LIBSOFT \
|
||||||
LOADER_FIREWIRE \
|
LOADER_FIREWIRE \
|
||||||
LOADER_FORCE_LE \
|
LOADER_FORCE_LE \
|
||||||
|
LOADER_VERBOSE \
|
||||||
NAND \
|
NAND \
|
||||||
OFED_EXTRA \
|
OFED_EXTRA \
|
||||||
OPENLDAP \
|
OPENLDAP \
|
||||||
|
|
|
@ -155,6 +155,10 @@ vers.c: ${LDRSRC}/newvers.sh ${VERSION_FILE}
|
||||||
sh ${LDRSRC}/newvers.sh ${REPRO_FLAG} ${VERSION_FILE} \
|
sh ${LDRSRC}/newvers.sh ${REPRO_FLAG} ${VERSION_FILE} \
|
||||||
${NEWVERSWHAT}
|
${NEWVERSWHAT}
|
||||||
|
|
||||||
|
.if ${MK_LOADER_VERBOSE} != "no"
|
||||||
|
CFLAGS+= -DELF_VERBOSE
|
||||||
|
.endif
|
||||||
|
|
||||||
.if !empty(HELP_FILES)
|
.if !empty(HELP_FILES)
|
||||||
HELP_FILES+= ${LDRSRC}/help.common
|
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 a new issue