summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2013-04-14 13:12:58 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2013-04-14 13:12:58 +0200
commitdc8be39bbf1832525240e257722d326dc9610e12 (patch)
tree000268d094ee201aab7fa810178c4362755d2608
parentd66186dcd00e1b1313da3b645b5fdc17d3b29152 (diff)
downloadptxdist-dc8be39bbf1832525240e257722d326dc9610e12.tar.gz
ptxdist-dc8be39bbf1832525240e257722d326dc9610e12.tar.xz
u-boot-tools: only copy fw_printenv if it's actually built
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/u-boot-tools.make2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules/u-boot-tools.make b/rules/u-boot-tools.make
index 937a49d85..29a912c42 100644
--- a/rules/u-boot-tools.make
+++ b/rules/u-boot-tools.make
@@ -47,8 +47,10 @@ $(STATEDIR)/u-boot-tools.install:
@$(call targetinfo)
install -D $(U_BOOT_TOOLS_DIR)/tools/mkimage \
$(U_BOOT_TOOLS_PKGDIR)/usr/bin/mkimage
+ifdef PTXCONF_U_BOOT_TOOLS_TOOL_ENV
install -D $(U_BOOT_TOOLS_DIR)/tools/env/fw_printenv \
$(U_BOOT_TOOLS_PKGDIR)/usr/sbin/fw_printenv
+endif
@$(call touch)
# ----------------------------------------------------------------------------