summaryrefslogtreecommitdiffstats
path: root/rules/u-boot-tools.make
diff options
context:
space:
mode:
authorMarkus Niebel <Markus.Niebel@tq-group.com>2015-05-12 10:23:17 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2015-05-26 07:21:43 +0200
commit626d8dbd6c389b99c375b42e65f9633b73befac1 (patch)
treed8c25973f2e14ae995354ad68c0f7f928e5574fa /rules/u-boot-tools.make
parent85d64d7301ee120252e65f71bcb0cc24b64c1d5a (diff)
downloadptxdist-626d8dbd6c389b99c375b42e65f9633b73befac1.tar.gz
ptxdist-626d8dbd6c389b99c375b42e65f9633b73befac1.tar.xz
u-boot-tools: improve build
The U-Boot tools are mostly host side tools. No need to compile them for target since this could break build due to wrong dependencies. Use feature of U-Boot build system to build a given directory. Signed-off-by: Markus Niebel <Markus.Niebel@tq-group.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/u-boot-tools.make')
-rw-r--r--rules/u-boot-tools.make4
1 files changed, 2 insertions, 2 deletions
diff --git a/rules/u-boot-tools.make b/rules/u-boot-tools.make
index 2e1b0a158..9e5ef2b21 100644
--- a/rules/u-boot-tools.make
+++ b/rules/u-boot-tools.make
@@ -33,10 +33,10 @@ 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 tools-only
+ sandbox_config
ifdef PTXCONF_U_BOOT_TOOLS_TOOL_ENV
-U_BOOT_TOOLS_MAKE_OPT += env
+U_BOOT_TOOLS_MAKE_OPT += tools/env/
endif
# ----------------------------------------------------------------------------