summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-04-01 09:24:44 +0900
committerTom Rini <trini@ti.com>2014-04-18 10:42:29 -0400
commite1b7e1e3cfa8db7edfa494709ed2d477f73c2b66 (patch)
treefe529e0da84c791db4b4ec60999ea928ba3e49d4
parentfd11bea2ccb97909f421e20e6a5ba770dbf39d0b (diff)
downloadu-boot-imx-e1b7e1e3cfa8db7edfa494709ed2d477f73c2b66.zip
u-boot-imx-e1b7e1e3cfa8db7edfa494709ed2d477f73c2b66.tar.gz
u-boot-imx-e1b7e1e3cfa8db7edfa494709ed2d477f73c2b66.tar.bz2
tools: fix Makefile to clean-up fit_info and fit_check_sign
We should avoid the description in Makefile like this ifdef CONFIG_FIT_SIGNATURE hostprogs-y += fit_info$(SFX) fit_check_sign$(SFX) endif Otherwise, fit_info and fit_check_sign would never be cleaned by "make clean". Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: Heiko Schocher <hs@denx.de>
-rw-r--r--tools/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/Makefile b/tools/Makefile
index c5c378c..c34df4f 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -60,9 +60,7 @@ hostprogs-y += mkenvimage$(SFX)
mkenvimage$(SFX)-objs := crc32.o mkenvimage.o os_support.o
hostprogs-y += dumpimage$(SFX) mkimage$(SFX)
-ifdef CONFIG_FIT_SIGNATURE
-hostprogs-y += fit_info$(SFX) fit_check_sign$(SFX)
-endif
+hostprogs-$(CONFIG_FIT_SIGNATURE) += fit_info$(SFX) fit_check_sign$(SFX)
FIT_SIG_OBJS-$(CONFIG_FIT_SIGNATURE) := image-sig.o
# Flattened device tree objects