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 > [email protected] -- 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 [email protected]
