mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH] barebox: Install bareboxcrc32 to sysroot-host to be able to generate crc32 codes that can be checked by barebox
Date: Mon, 15 Feb 2016 10:03:07 +0100	[thread overview]
Message-ID: <20160215090306.GC23517@pengutronix.de> (raw)
In-Reply-To: <1455200332-783-1-git-send-email-g.schenk@eckelmann.de>

On Thu, Feb 11, 2016 at 03:18:52PM +0100, Gavin Schenk wrote:
> I want to create crc32 files in a new-image-generation package that can be processed by barebox.
> ---
>  rules/barebox.make | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/rules/barebox.make b/rules/barebox.make
> index a9aac7d..cf04b0e 100644
> --- a/rules/barebox.make
> +++ b/rules/barebox.make
> @@ -110,6 +110,7 @@ $(STATEDIR)/barebox.compile:
>  $(STATEDIR)/barebox.install:
>  	@$(call targetinfo)
>  	@install -v -D -m755 $(BAREBOX_DIR)/scripts/bareboxenv $(PTXCONF_SYSROOT_HOST)/bin/bareboxenv
> +	@install -v -D -m755 $(BAREBOX_DIR)/scripts/bareboxcrc32 $(PTXCONF_SYSROOT_HOST)/bin/bareboxcrc32

This is new in v2014.01.0, so it will fail with older versions.
Please wrap it with a 'if [ -e ... ]' or something like that.

Michael

>  ifdef PTXCONF_ARCH_X86
>  	@if [ -e $(BAREBOX_DIR)/scripts/setupmbr/setupmbr ]; then \
>  		install -v -D -m755 $(BAREBOX_DIR)/scripts/setupmbr/setupmbr \
> -- 
> 1.9.1
> 
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2016-02-15  9:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-11 14:18 Gavin Schenk
2016-02-15  9:03 ` Michael Olbrich [this message]
     [not found] <Re: [ptxdist] [PATCH] barebox: Install bareboxcrc32 to sysroot-host to be able to generate crc32 codes that can be checked by barebox>
2016-02-15 11:29 ` Gavin Schenk

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=20160215090306.GC23517@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --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