mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] images: check for use of obsolete pblx-*
@ 2019-01-14 13:48 Ahmad Fatoum
  2019-01-17  7:49 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2019-01-14 13:48 UTC (permalink / raw)
  To: barebox

pblx-* has been removed in 5a1a5ed253 ("ARM: images: use piggydata")
and using it (e.g. because a patchset was rebased) results in a non-obvious:

	make[1]: *** No rule to make target 'images/*.pblx.*', \
	needed by 'images/barebox-*.img'.  Stop.

Avoid this by explicitly failing with an error message whenever pblx-y
or pblx- has been defined.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 images/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/images/Makefile b/images/Makefile
index c4b2a483fbd1..c3ec498865da 100644
--- a/images/Makefile
+++ b/images/Makefile
@@ -105,6 +105,10 @@ include $(srctree)/images/Makefile.tegra
 include $(srctree)/images/Makefile.vexpress
 include $(srctree)/images/Makefile.at91
 
+ifneq ($(pblx-y)$(pblx-),)
+  $(error pblx- has been removed. Please use pblb- instead.)
+endif
+
 targets += $(image-y) pbl.lds barebox.x barebox.z piggy.o
 targets += $(patsubst %,%.pblb,$(pblb-y))
 targets += $(patsubst %,%.pbl,$(pblb-y))
-- 
2.20.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-01-17  7:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-14 13:48 [PATCH] images: check for use of obsolete pblx-* Ahmad Fatoum
2019-01-17  7:49 ` Sascha Hauer

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