mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] barebox: fix rebuild of environment
@ 2018-05-16 10:14 Michael Tretter
  0 siblings, 0 replies; only message in thread
From: Michael Tretter @ 2018-05-16 10:14 UTC (permalink / raw)
  To: ptxdist; +Cc: Michael Tretter

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.tretter@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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-05-16 10:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-16 10:14 [ptxdist] [PATCH] barebox: fix rebuild of environment Michael Tretter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox