tools: fix Makefile to clean-up fit_info and fit_check_sign
PATCH v2 1/1 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 <[email protected]>
Cc Heiko Schocher <[email protected]>
---
This patch is against u-boot/next
Changes in v2:
- Add Signed-off-by
tools/Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
tools/Makefile +1 -3
@@ -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
Signature · 1 line
1.8.3.2
PATCH v2 1/1 tools: fix Makefile to clean-up fit_info and fit_check_sign
Quoted 11 lines · Masahiro Yamada
We should avoid the description in
Makefilelike thisifdef
CONFIG_FIT_SIGNATURE
hostprogs-y += fit_info$(SFX) fit_check_sign$(SFX) endifOtherwise,
fit_infoandfit_check_signwould never be cleaned by "make clean".Signed-off-by Masahiro Yamada <[email protected]>Cc Heiko Schocher <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140418/52ee40b7/attachment.pgp>