summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPeter Tyser <ptyser@xes-inc.com>2009-03-13 18:54:36 -0500
committerWolfgang Denk <wd@denx.de>2009-04-04 01:11:14 +0200
commiteeba8617908e33f7e7db3b1588c04ca65b856793 (patch)
tree66cac488b28cdfc6a64abac98104e41899543fba /tools
parent335ffe7e0e0a30e90ce409c3279016a582157d8e (diff)
tools/Makefile: Make img2srec dependent upon CONFIG_CMD_LOADS
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/Makefile b/tools/Makefile
index 3c59bba8040..b4bd4172b14 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -73,7 +73,7 @@ endif
include $(TOPDIR)/config.mk
# Generated executable files
-BIN_FILES-y += img2srec$(SFX)
+BIN_FILES-$(CONFIG_CMD_LOADS) += img2srec$(SFX)
BIN_FILES-y += mkimage$(SFX)
BIN_FILES-y += envcrc$(SFX)
BIN_FILES-y += ubsha1$(SFX)
@@ -88,7 +88,7 @@ OBJ_LINKS-y += sha1.o
OBJ_LINKS-y += image.o
# Source files located in the tools directory
-OBJ_FILES-y += img2srec.o
+OBJ_FILES-$(CONFIG_CMD_LOADS) += img2srec.o
OBJ_FILES-y += mkimage.o
OBJ_FILES-y += envcrc.o
OBJ_FILES-y += ubsha1.o