diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2021-12-01 00:51:01 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2021-12-06 18:46:49 +0000 |
commit | 9b135747a326080f0ffc96ddc3e0d7a4fbc1dfe1 (patch) | |
tree | 1d9765c6bfe9304b7558c8799356d27dea7a5bcd | |
parent | 9da5257e1c045220c01979dcdceadcf2867d20f0 (diff) | |
download | src-9b135747a326080f0ffc96ddc3e0d7a4fbc1dfe1.tar.gz src-9b135747a326080f0ffc96ddc3e0d7a4fbc1dfe1.zip |
kern.pre.mk: allow to use and customize elfdump during kernel build
Reviewed by: emaste
Discussed with: jrtc27
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D32960
-rw-r--r-- | Makefile.inc1 | 2 | ||||
-rw-r--r-- | sys/conf/kern.pre.mk | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index f0d0483e41d4..828de1bbbd84 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -2630,6 +2630,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 \ @@ -2644,6 +2645,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 056963adcb2d..f947a9841a0f 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 |