[U-Boot] [PATCH 04/15] tools/Makefile: Make img2srec dependent upon CONFIG_CMD_LOADS
Peter Tyser
ptyser at xes-inc.com
Thu Mar 5 00:32:54 CET 2009
Signed-off-by: Peter Tyser <ptyser at xes-inc.com>
---
tools/Makefile | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/Makefile b/tools/Makefile
index 09512ec..3b90ba6 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -85,7 +85,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)
@@ -100,7 +100,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
--
1.6.0.2.GIT
More information about the U-Boot
mailing list