From nobody Mon Dec 06 18:48:17 2021 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 320F518B571B; Mon, 6 Dec 2021 18:48:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J7C9s66LRz4SPq; Mon, 6 Dec 2021 18:48:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id AD0DD11175; Mon, 6 Dec 2021 18:48:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1B6ImHdL065049; Mon, 6 Dec 2021 18:48:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1B6ImHS7065048; Mon, 6 Dec 2021 18:48:17 GMT (envelope-from git) Date: Mon, 6 Dec 2021 18:48:17 GMT Message-Id: <202112061848.1B6ImHS7065048@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 9b135747a326 - main - kern.pre.mk: allow to use and customize elfdump during kernel build List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9b135747a326080f0ffc96ddc3e0d7a4fbc1dfe1 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638816497; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+0ZeEuxh2AR+PSc1YxnO0C5YutaslTO8V5+dPCaXpE4=; b=nUmXnz2KMLAuKn/8EngrJ52VKpjdGArU5Knw1wD5vJ7B+wvqWttp1UjsQta/mZebQheiCv +XO6LxAwoAObhH0dO3MHk10R6ADbOf2PKog6cVtfL7MirnQLtnJMihXdPdxpOS7dmNe5rI jQDthVzWC8mBhYN+v4BBd51kwZ/nNJs4eWqd/os9zmchn6F2cseyAcivANSf5oqyl/SQRF f4TC+BSgv+IDx8oQNxTcR1GX6ZHWQ1SxotNvSoqkWo/1R6j/t7jpDjYFDu8egtix0BZu+z PdoIUo+1Ud4RnHlP0Mc2FsXuo1FXAzQv+UXw19U6WyzsG+IPUPHLTud8lsKe1g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638816497; a=rsa-sha256; cv=none; b=PNa+X7Rwgivx1X47+6sgLgv4iYm029d8NmquyGWGldionqQVbG7aZDenTzbO2wktZofiGy XASh2T1kGkpS7vVNV6wsiOv/5ug2MKPdZDO9u7gV608QGWDmMzLAvSBbkxI3Rv0EuIzJjZ 2KOVlgmvG3oy7+qK4dTwgjbasNWasMdDHAdnVd3kBpK4MxXDtCro8AWC9ShPQvKBrQdSKe XOXcxtTu4yoZzwl+W8ORKivoPuqeAAcjJL9OkJ/IewcwSH0w5s6hqq7wjo+rYr00Z2QrmV xyT3DaEnHWxVQpluSBQEpcoqvFaGE7Uqb0BkxKgGX4lGuT0wbXktq3OsmdcsSQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=9b135747a326080f0ffc96ddc3e0d7a4fbc1dfe1 commit 9b135747a326080f0ffc96ddc3e0d7a4fbc1dfe1 Author: Konstantin Belousov AuthorDate: 2021-12-01 00:51:01 +0000 Commit: Konstantin Belousov CommitDate: 2021-12-06 18:46:49 +0000 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 --- Makefile.inc1 | 2 ++ sys/conf/kern.pre.mk | 1 + 2 files changed, 3 insertions(+) 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