summaryrefslogtreecommitdiffstats
path: root/rules/u-boot-tools.make
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2015-05-26 14:33:11 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2015-05-26 14:34:37 +0200
commita42c36aebf77b654660760352fcaeeeef4df80ae (patch)
tree6b05a2e7916983d814f25b4876e9e30b246fd78e /rules/u-boot-tools.make
parentf455b686266da868d9f8603092ca46004e04cd68 (diff)
downloadptxdist-a42c36aebf77b654660760352fcaeeeef4df80ae.tar.gz
ptxdist-a42c36aebf77b654660760352fcaeeeef4df80ae.tar.xz
u-boot-tools: remove option U_BOOT_TOOLS_TOOL_ENV
This patch removes the U_BOOT_TOOLS_TOOL_ENV option, as it's the only sub-option of u-boot-tools. It makes no sense to compile u-boot-tools, but not install anything. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'rules/u-boot-tools.make')
-rw-r--r--rules/u-boot-tools.make11
1 files changed, 2 insertions, 9 deletions
diff --git a/rules/u-boot-tools.make b/rules/u-boot-tools.make
index 9e5ef2b21..ef34b8003 100644
--- a/rules/u-boot-tools.make
+++ b/rules/u-boot-tools.make
@@ -33,11 +33,8 @@ U_BOOT_TOOLS_CONF_TOOL := NO
# just pick sandbox as a dummy target config
U_BOOT_TOOLS_MAKE_OPT := \
CROSS_COMPILE=$(BOOTLOADER_CROSS_COMPILE) \
- sandbox_config
-
-ifdef PTXCONF_U_BOOT_TOOLS_TOOL_ENV
-U_BOOT_TOOLS_MAKE_OPT += tools/env/
-endif
+ sandbox_config \
+ tools/env/
# ----------------------------------------------------------------------------
# Install
@@ -45,10 +42,8 @@ endif
$(STATEDIR)/u-boot-tools.install:
@$(call targetinfo)
-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)
# ----------------------------------------------------------------------------
@@ -65,11 +60,9 @@ $(STATEDIR)/u-boot-tools.targetinstall:
"Andreas Bießmann <andreas@biessmann.de>")
@$(call install_fixup, u-boot-tools,DESCRIPTION,missing)
-ifdef PTXCONF_U_BOOT_TOOLS_TOOL_ENV
@$(call install_copy, u-boot-tools, 0, 0, 0755, -, /usr/sbin/fw_printenv)
@$(call install_link, u-boot-tools, fw_printenv, /usr/sbin/fw_setenv)
@$(call install_alternative, u-boot-tools, 0, 0, 0644, /etc/fw_env.config)
-endif
@$(call install_finish, u-boot-tools)