git: 1ca5b76438b9 - stable/13 - kern.pre.mk: allow to use and customize elfdump during kernel build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 13 Dec 2021 01:01:04 UTC
The branch stable/13 has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=1ca5b76438b9f37f9024c2369eb59cbe4b2f1358
commit 1ca5b76438b9f37f9024c2369eb59cbe4b2f1358
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2021-12-01 00:51:01 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2021-12-13 00:58:22 +0000
kern.pre.mk: allow to use and customize elfdump during kernel build
(cherry picked from commit 9b135747a326080f0ffc96ddc3e0d7a4fbc1dfe1)
---
Makefile.inc1 | 2 ++
sys/conf/kern.pre.mk | 1 +
2 files changed, 3 insertions(+)
diff --git a/Makefile.inc1 b/Makefile.inc1
index b2ea58f02b1d..1726ae046d76 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -2620,6 +2620,7 @@ _dtrace_tools= cddl/lib/libctf cddl/lib/libspl cddl/usr.bin/ctfconvert \
_elftctools= lib/libelftc \
lib/libpe \
usr.bin/elfctl \
+ usr.bin/elfdump \
usr.bin/objcopy \
usr.bin/nm \
usr.bin/size \
@@ -2634,6 +2635,7 @@ _elftctools+= usr.bin/addr2line
_elftctools= lib/libelftc \
lib/libpe \
usr.bin/elfctl \
+ usr.bin/elfdump \
usr.bin/objcopy
.endif
diff --git a/sys/conf/kern.pre.mk b/sys/conf/kern.pre.mk
index 3eacd35d6a9a..9730ade8a8b9 100644
--- a/sys/conf/kern.pre.mk
+++ b/sys/conf/kern.pre.mk
@@ -46,6 +46,7 @@ M= ${MACHINE}
AWK?= awk
CP?= cp
+ELFDUMP?= elfdump
NM?= nm
OBJCOPY?= objcopy
SIZE?= size