[PATCH v2 1/2] environment: support DT-compatible-specific overlays
Sascha Hauer
s.hauer at pengutronix.de
Mon Apr 13 08:10:00 PDT 2026
On Mon, 13 Apr 2026 15:43:52 +0200, Ahmad Fatoum wrote:
> Board-specific environments are registered from board code via
> defaultenv_append_directory(), but this isn't possible when using
> CONFIG_DEFAULT_ENVIRONMENT_PATH with an external environment.
>
> Add support for a match.of_compatible/ directory convention within
> the default environment. Subdirectories named after DT root compatible
> strings are overlaid onto /env from most generic to most specific
> after the default environment is loaded. The match.of_compatible/
> directory is removed afterwards to keep /env clean.
>
> [...]
Applied, thanks!
[1/2] environment: support DT-compatible-specific overlays
https://git.pengutronix.de/cgit/barebox/commit/?id=29bd991c06f4 (link may not be stable)
[2/2] sandbox: add a match.of_compatible directory to exercise the feature
https://git.pengutronix.de/cgit/barebox/commit/?id=b071c63dc663 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list