Barebox does not rebuild the environment by default anymore since commit
105201e0013d ("build: fix that defaultenv is always rebuilt").
Therefore, changes in $(BAREBOX_EXTRA_ENV_PATH) do not propagate to the
Barebox image.

Remove the generated environment file to trigger a rebuild of the
environment.

Signed-off-by: Michael Tretter <m.tret...@pengutronix.de>
---
 rules/barebox.make | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rules/barebox.make b/rules/barebox.make
index 7c389e770..f09572941 100644
--- a/rules/barebox.make
+++ b/rules/barebox.make
@@ -89,6 +89,7 @@ ifdef PTXCONF_BAREBOX_EXTRA_ENV
                else \
                        cp "$(path)" $(BAREBOX_DIR)/.ptxdist-defaultenv/; \
                fi;)
+       @rm -rf $(BAREBOX_DIR)/defaultenv/barebox_default_env
 endif
 
        @$(call touch)
-- 
2.17.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to