tools: correct proftool build rule
authorIan Campbell <ijc@hellion.org.uk>
Fri, 31 Jan 2014 23:54:44 +0000 (23:54 +0000)
committerTom Rini <trini@ti.com>
Wed, 19 Feb 2014 15:47:38 +0000 (10:47 -0500)
The incorrect substitution made it rebuild every time.

Signed-off-by: Ian Campbell <ijc@hellion.org.uk>
Cc: Tom Rini <trini@ti.com>
Acked-by: Simon Glass <sjg@chromium.org>
tools/Makefile

index 328cea319ed7fffb32c047de17b2e6d66732ff81..052e4d4f1fa2b4770dbec906dc960385ba472a28 100644 (file)
@@ -60,7 +60,7 @@ BIN_FILES-$(CONFIG_MX28) += mxsboot$(SFX)
 BIN_FILES-$(CONFIG_NETCONSOLE) += ncb$(SFX)
 BIN_FILES-$(CONFIG_SHA1_CHECK_UB_IMG) += ubsha1$(SFX)
 BIN_FILES-$(CONFIG_KIRKWOOD) += kwboot$(SFX)
-BIN_FILES-y += proftool(SFX)
+BIN_FILES-y += proftool$(SFX)
 BIN_FILES-$(CONFIG_STATIC_RELA) += relocate-rela$(SFX)
 
 # Source files which exist outside the tools directory
@@ -186,7 +186,7 @@ $(obj)bmp_logo$(SFX):       $(obj)bmp_logo.o
        $(HOSTCC) $(HOSTCFLAGS) $(HOSTLDFLAGS) -o $@ $^
        $(HOSTSTRIP) $@
 
-$(obj)proftool(SFX):   $(obj)proftool.o
+$(obj)proftool$(SFX):  $(obj)proftool.o
        $(HOSTCC) $(HOSTCFLAGS) $(HOSTLDFLAGS) -o $@ $^
        $(HOSTSTRIP) $@