aboutsummaryrefslogtreecommitdiff
path: root/stand/loader.mk
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2019-01-07 05:49:27 +0000
committerWarner Losh <imp@FreeBSD.org>2019-01-07 05:49:27 +0000
commitf871c5d99d1efb11136a7f39b640e25afa971df9 (patch)
tree6c7801e26cb49b90625fde8d2d35f2dfa3a49146 /stand/loader.mk
parentd91cc9dd63f4a646eb50781733539b680bdc0d15 (diff)
downloadsrc-f871c5d99d1efb11136a7f39b640e25afa971df9.tar.gz
src-f871c5d99d1efb11136a7f39b640e25afa971df9.zip
Create MK_LOADER_VERBOSE and connect it to ELF_VERBOSE in the loader
code. PR: 18498 Submitted by: mellon at pobox dot com
Notes
Notes: svn path=/head/; revision=342840
Diffstat (limited to 'stand/loader.mk')
-rw-r--r--stand/loader.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/stand/loader.mk b/stand/loader.mk
index f0d6859764ea..e5149191fb47 100644
--- a/stand/loader.mk
+++ b/stand/loader.mk
@@ -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