summaryrefslogtreecommitdiffstats
path: root/rules/barebox.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2011-03-17 11:57:47 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2011-03-28 10:19:20 +0200
commitc86e90c9cdb4b7f018981e430e8e604f74478bc4 (patch)
tree92d20fbabf34a409b410bc416a9ae862fb14954d /rules/barebox.make
parent30eff42aada6e437cab76639a12970145e41de77 (diff)
downloadptxdist-c86e90c9cdb4b7f018981e430e8e604f74478bc4.tar.gz
ptxdist-c86e90c9cdb4b7f018981e430e8e604f74478bc4.tar.xz
barebox: install setupmbr
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 b33a197d5..9207f1a54 100644
--- a/rules/barebox.make
+++ b/rules/barebox.make
@@ -98,6 +98,9 @@ $(STATEDIR)/barebox.compile:
$(STATEDIR)/barebox.install:
@$(call targetinfo)
@install -D -m755 $(BAREBOX_DIR)/scripts/bareboxenv $(PTXCONF_SYSROOT_HOST)/bin/bareboxenv
+ifdef PTXCONF_ARCH_X86
+ @install -D -m755 $(BAREBOX_DIR)/scripts/setupmbr/setupmbr $(PTXCONF_SYSROOT_HOST)/bin/setupmbr
+endif
@$(call touch)
# ----------------------------------------------------------------------------