summaryrefslogtreecommitdiffstats
path: root/rules/barebox_mlo.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2014-09-22 16:32:12 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2014-09-22 16:33:36 +0200
commit11c1ae0ce7826e8042f3c8120948b75b436ccb80 (patch)
treec587539d3f885574a29ec24529c61741a95026b4 /rules/barebox_mlo.make
parent4e717d6b8fe92456b09ae9992b0752a60e7b07a7 (diff)
downloadptxdist-11c1ae0ce7826e8042f3c8120948b75b436ccb80.tar.gz
ptxdist-11c1ae0ce7826e8042f3c8120948b75b436ccb80.tar.xz
barebox_mlo: use more generic pattern for barebox images
Not all MLO images end with '-mlo.img'. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/barebox_mlo.make')
-rw-r--r--rules/barebox_mlo.make2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/barebox_mlo.make b/rules/barebox_mlo.make
index f90955c8f..3b25121d2 100644
--- a/rules/barebox_mlo.make
+++ b/rules/barebox_mlo.make
@@ -77,7 +77,7 @@ $(STATEDIR)/barebox_mlo.targetinstall:
@$(call targetinfo)
# #barebox renamed barebox.bin.ift to MLO, so fall back to barebox.bin.ift
@rm -f $(IMAGEDIR)/MLO
- @for image in `ls $(BAREBOX_MLO_DIR)/images/barebox-*-mlo.img`; do \
+ @for image in `ls $(BAREBOX_MLO_DIR)/images/barebox-*.img`; do \
install -D -m644 $$image $(IMAGEDIR)/`basename $$image`; \
if [ ! -e "$(IMAGEDIR)/MLO" ]; then \
ln -sf `basename $$image` $(IMAGEDIR)/MLO; \