mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Barebox List <barebox@lists.infradead.org>,
	 Sascha Hauer <s.hauer@pengutronix.de>
Cc: Claude <noreply@anthropic.com>
Subject: Re: [PATCH 1/2] kbuild: make collect-policies lightweight with standalone Makefile.policy
Date: Wed, 04 Mar 2026 08:38:48 +0100	[thread overview]
Message-ID: <177260992891.3894558.14441137325534719690.b4-ty@pengutronix.de> (raw)
In-Reply-To: <20260225153057.3199724-1-s.hauer@pengutronix.de>


On Wed, 25 Feb 2026 16:30:55 +0100, Sascha Hauer wrote:
> collect-policies previously depended on $(barebox-dirs), which requires
> `prepare scripts` and triggers unnecessary rebuilds. Repurpose
> Makefile.policy to support dual-mode operation: when invoked standalone
> via $(collect)=dir it bootstraps kbuild infrastructure and recurses
> through subdirectories (like Makefile.clean), and when included from
> Makefile.build it provides the existing build-time .sconfig rules.
> 
> [...]

Applied, thanks!

[1/2] kbuild: make collect-policies lightweight with standalone Makefile.policy
      https://git.pengutronix.de/cgit/barebox/commit/?id=2d871c52ddc7 (link may not be stable)
[2/2] kbuild: policy: support out-of-tree builds for external policy files
      https://git.pengutronix.de/cgit/barebox/commit/?id=c6d2e69c3e5a (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer@pengutronix.de>




      parent reply	other threads:[~2026-03-04  7:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-25 15:30 Sascha Hauer
2026-02-25 15:30 ` [PATCH 2/2] kbuild: policy: support out-of-tree builds for external policy files Sascha Hauer
2026-02-25 20:16 ` [PATCH 1/2] kbuild: make collect-policies lightweight with standalone Makefile.policy Ahmad Fatoum
2026-03-04  7:38 ` Sascha Hauer [this message]

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=177260992891.3894558.14441137325534719690.b4-ty@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=noreply@anthropic.com \
    /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