From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Buildroot List <buildroot@buildroot.org>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>,
"Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>,
Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Subject: [Buildroot] [PATCH v3 2/3] support/scripts/check-host-rpath: rename to check-host-bins
Date: Tue, 25 Aug 2026 23:42:00 +0200 [thread overview]
Message-ID: <20260825214203.3708181-3-thomas.petazzoni@bootlin.com> (raw)
In-Reply-To: <20260825214203.3708181-1-thomas.petazzoni@bootlin.com>
As we are about to extend check-host-rpaths to check more than the
RPATH of host binaries, let's rename it check-host-bins to indicate
that it runs various checks on binaries installed by host packages.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
Changes since v2:
- New in v3
---
package/pkg-generic.mk | 10 +++++-----
support/scripts/{check-host-rpath => check-host-bins} | 0
2 files changed, 5 insertions(+), 5 deletions(-)
rename support/scripts/{check-host-rpath => check-host-bins} (100%)
diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk
index 09d6e5b20b..34e24f5aa9 100644
--- a/package/pkg-generic.mk
+++ b/package/pkg-generic.mk
@@ -55,13 +55,13 @@ define step_time
endef
GLOBAL_INSTRUMENTATION_HOOKS += step_time
-# This hook checks that host packages that need libraries that we build
-# have a proper DT_RPATH or DT_RUNPATH tag
-define check_host_rpath
+# This hook runs various checks on the binaries installed by host
+# packages.
+define check_host_bins
$(if $(filter install-host,$(2)),\
- $(if $(filter end,$(1)),support/scripts/check-host-rpath $(3) $(HOST_DIR) $(PER_PACKAGE_DIR)))
+ $(if $(filter end,$(1)),support/scripts/check-host-bins $(3) $(HOST_DIR) $(PER_PACKAGE_DIR)))
endef
-GLOBAL_INSTRUMENTATION_HOOKS += check_host_rpath
+GLOBAL_INSTRUMENTATION_HOOKS += check_host_bins
define step_check_build_dir_one
if [ -d $(2) ]; then \
diff --git a/support/scripts/check-host-rpath b/support/scripts/check-host-bins
similarity index 100%
rename from support/scripts/check-host-rpath
rename to support/scripts/check-host-bins
--
2.55.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2026-08-25 21:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-25 21:41 [Buildroot] [PATCH v3 0/3] Improve checking of host binaries Thomas Petazzoni via buildroot
2026-08-25 21:41 ` [Buildroot] [PATCH v3 1/3] support/scripts/check-host-rpath: fix shellcheck issues Thomas Petazzoni via buildroot
2026-08-25 21:42 ` Thomas Petazzoni via buildroot [this message]
2026-08-25 21:42 ` [Buildroot] [PATCH v3 3/3] support/scripts/check-host-bins: add new check on host binaries/libs Thomas Petazzoni via buildroot
2026-08-27 4:19 ` Matthew Weber
2026-08-27 5:33 ` Thomas Petazzoni via buildroot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260825214203.3708181-3-thomas.petazzoni@bootlin.com \
--to=buildroot@buildroot.org \
--cc=arnout@mind.be \
--cc=thomas.petazzoni@bootlin.com \
--cc=yann.morin.1998@free.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox