From: Peter Tyser Date: Fri, 13 Mar 2009 23:54:39 +0000 (-0500) Subject: tools/Makefile: Make envcrc dependent upon CONFIG_ENV_IS_EMBEDDED X-Git-Tag: v2009.06-rc1~91 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4d93a0a807b8ca0289ba5da00c646cd2d54af120;p=u-boot tools/Makefile: Make envcrc dependent upon CONFIG_ENV_IS_EMBEDDED Signed-off-by: Peter Tyser --- diff --git a/tools/Makefile b/tools/Makefile index 942fae26e5..ec35f18dcd 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -75,7 +75,7 @@ include $(TOPDIR)/config.mk # Generated executable files BIN_FILES-$(CONFIG_CMD_LOADS) += img2srec$(SFX) BIN_FILES-y += mkimage$(SFX) -BIN_FILES-y += envcrc$(SFX) +BIN_FILES-$(CONFIG_ENV_IS_EMBEDDED) += envcrc$(SFX) BIN_FILES-$(CONFIG_SHA1_CHECK_UB_IMG) += ubsha1$(SFX) BIN_FILES-y += gen_eth_addr$(SFX) BIN_FILES-$(CONFIG_LCD_LOGO) += bmp_logo$(SFX) @@ -91,7 +91,7 @@ OBJ_LINKS-y += image.o # Source files located in the tools directory OBJ_FILES-$(CONFIG_CMD_LOADS) += img2srec.o OBJ_FILES-y += mkimage.o -OBJ_FILES-y += envcrc.o +OBJ_FILES-$(CONFIG_ENV_IS_EMBEDDED) += envcrc.o OBJ_FILES-$(CONFIG_SHA1_CHECK_UB_IMG) += ubsha1.o OBJ_FILES-y += gen_eth_addr.o OBJ_FILES-$(CONFIG_LCD_LOGO) += bmp_logo.o