summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonello Dettori <dettori.an@gmail.com>2016-06-05 17:26:01 +0200
committerMartin Roth <martinroth@google.com>2016-06-08 18:47:49 +0200
commit75c37058b3f339b9f9967a50c89b6529ec104df3 (patch)
treef6d6afc5aa93320d2cd662f81a2f275f3d3b44c4
parent00f21c77245864b50ec4218cf85d7c73755cb470 (diff)
downloadcoreboot-75c37058b3f339b9f9967a50c89b6529ec104df3.tar.xz
cbfstool: Allow to easily build the individual tools
Adds a label for each tool included in the cbfstool package in order to build them more easily through Make. Change-Id: Id1e5164240cd12d22cba18d7cc4571fbadad38af Signed-off-by: Antonello Dettori <dettori.an@gmail.com> Reviewed-on: https://review.coreboot.org/15075 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
-rw-r--r--util/cbfstool/Makefile15
1 files changed, 10 insertions, 5 deletions
diff --git a/util/cbfstool/Makefile b/util/cbfstool/Makefile
index f49da3ed90..14696eaaa0 100644
--- a/util/cbfstool/Makefile
+++ b/util/cbfstool/Makefile
@@ -7,12 +7,17 @@ HOSTCC ?= $(CC)
OBJCOPY ?= objcopy
.PHONY: all
-all: $(objutil)/cbfstool/cbfstool \
- $(objutil)/cbfstool/fmaptool \
- $(objutil)/cbfstool/rmodtool \
- $(objutil)/cbfstool/ifwitool \
+all: cbfstool fmaptool rmodtool ifwitool
-.PHONY: clean
+cbfstool: $(objutil)/cbfstool/cbfstool
+
+fmaptool: $(objutil)/cbfstool/fmaptool
+
+rmodtool: $(objutil)/cbfstool/rmodtool
+
+ifwitool: $(objutil)/cbfstool/ifwitool
+
+.PHONY: clean cbfstool fmaptool rmodtool ifwitool
clean:
$(RM) fmd_parser.c fmd_parser.h fmd_scanner.c fmd_scanner.h
$(RM) $(objutil)/cbfstool/cbfstool $(cbfsobj)