mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] barebox: Install bareboxcrc32 to sysroot-host to be able to generate crc32 codes that can be checked by barebox
       [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
  0 siblings, 0 replies; 3+ messages in thread
From: Gavin Schenk @ 2016-02-15 11:29 UTC (permalink / raw)
  To: ptxdist; +Cc: Gavin Schenk

I want to create crc32 files in a new-image-generation package that can be processed by barebox.
---
 rules/barebox.make | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/rules/barebox.make b/rules/barebox.make
index a9aac7d..5f938db 100644
--- a/rules/barebox.make
+++ b/rules/barebox.make
@@ -110,6 +110,9 @@ $(STATEDIR)/barebox.compile:
 $(STATEDIR)/barebox.install:
 	@$(call targetinfo)
 	@install -v -D -m755 $(BAREBOX_DIR)/scripts/bareboxenv $(PTXCONF_SYSROOT_HOST)/bin/bareboxenv
+	@if [ -e $(BAREBOX_DIR)/scripts/bareboxcrc32 ]; then \
+		install -v -D -m755 $(BAREBOX_DIR)/scripts/bareboxcrc32 $(PTXCONF_SYSROOT_HOST)/bin/bareboxcrc32; \
+	fi
 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

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

* Re: [ptxdist] [PATCH] barebox: Install bareboxcrc32 to sysroot-host to be able to generate crc32 codes that can be checked by barebox
  2016-02-11 14:18 Gavin Schenk
@ 2016-02-15  9:03 ` Michael Olbrich
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Olbrich @ 2016-02-15  9:03 UTC (permalink / raw)
  To: ptxdist

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

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

* [ptxdist] [PATCH] barebox: Install bareboxcrc32 to sysroot-host to be able to generate crc32 codes that can be checked by barebox
@ 2016-02-11 14:18 Gavin Schenk
  2016-02-15  9:03 ` Michael Olbrich
  0 siblings, 1 reply; 3+ messages in thread
From: Gavin Schenk @ 2016-02-11 14:18 UTC (permalink / raw)
  To: ptxdist; +Cc: Gavin Schenk

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
 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

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

end of thread, other threads:[~2016-02-15 11:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [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 ` [ptxdist] [PATCH] barebox: Install bareboxcrc32 to sysroot-host to be able to generate crc32 codes that can be checked by barebox Gavin Schenk
2016-02-11 14:18 Gavin Schenk
2016-02-15  9:03 ` Michael Olbrich

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