summaryrefslogtreecommitdiffstats
path: root/rules/barebox.make
diff options
context:
space:
mode:
authorGavin Schenk <g.schenk@eckelmann.de>2016-02-15 12:29:20 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2016-02-16 16:48:57 +0100
commit7440da4cd772906360f32cc799e1ca2092741939 (patch)
tree2c47a1260dcd4c85f15be66f00d7073cc13c98c2 /rules/barebox.make
parent6595b51a719d96ac57ef30a532e10e28ec405f3d (diff)
downloadptxdist-7440da4cd772906360f32cc799e1ca2092741939.tar.gz
ptxdist-7440da4cd772906360f32cc799e1ca2092741939.tar.xz
barebox: Install bareboxcrc32 to sysroot-host to be able to generate crc32 codes that can be checked by barebox
I want to create crc32 files in a new-image-generation package that can be processed by barebox. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/barebox.make')
-rw-r--r--rules/barebox.make3
1 files changed, 3 insertions, 0 deletions
diff --git a/rules/barebox.make b/rules/barebox.make
index a9aac7d16..5f938db03 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 \