mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Alexander Dahl <ada@thorsis.com>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] at91bootstrap2: Make targetinstall verbose and fix message
Date: Mon, 28 Jan 2019 10:09:07 +0100	[thread overview]
Message-ID: <20190128090907.24625-1-ada@thorsis.com> (raw)

The additional -vD is also used in several other rules, it's nice to see
the image(s) are actually copied to the right place.

If there's no kconfig file yet, the message shown is right, but the
additional single quote leads to an error, when directly copy/paste to
the commandline.

Signed-off-by: Alexander Dahl <ada@thorsis.com>
---
 rules/at91bootstrap2.make | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/rules/at91bootstrap2.make b/rules/at91bootstrap2.make
index a0ee1e0df..aae51fe6d 100644
--- a/rules/at91bootstrap2.make
+++ b/rules/at91bootstrap2.make
@@ -46,9 +46,9 @@ AT91BOOTSTRAP2_MAKE_OPT := \
 ifdef PTXCONF_AT91BOOTSTRAP2
 $(AT91BOOTSTRAP2_CONFIG):
 	@echo
-	@echo "************************************************************************************"
-	@echo "* Please generate a at91bootstrap config with 'ptxdist menuconfig 'at91bootstrap2' *"
-	@echo "************************************************************************************"
+	@echo "***********************************************************************************"
+	@echo "* Please generate a at91bootstrap config with 'ptxdist menuconfig at91bootstrap2' *"
+	@echo "***********************************************************************************"
 	@echo
 	@echo
 	@exit 1
@@ -69,10 +69,10 @@ $(STATEDIR)/at91bootstrap2.install:
 $(STATEDIR)/at91bootstrap2.targetinstall:
 	@$(call targetinfo)
 	@if [ -e $(AT91BOOTSTRAP2_DIR)/binaries/at91bootstrap.bin ]; then \
-		install -m644 $(AT91BOOTSTRAP2_DIR)/binaries/at91bootstrap.bin \
+		install -vD -m644 $(AT91BOOTSTRAP2_DIR)/binaries/at91bootstrap.bin \
 			$(IMAGEDIR)/at91bootstrap.bin; \
 	else \
-		install -m644 $(AT91BOOTSTRAP2_DIR)/binaries/*boot-$(AT91BOOTSTRAP2_VERSION).bin \
+		install -vD -m644 $(AT91BOOTSTRAP2_DIR)/binaries/*boot-$(AT91BOOTSTRAP2_VERSION).bin \
 			$(IMAGEDIR)/at91bootstrap.bin; \
 	fi
 	@$(call touch)
-- 
2.11.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

                 reply	other threads:[~2019-01-28  9:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190128090907.24625-1-ada@thorsis.com \
    --to=ada@thorsis.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox