From 75c37058b3f339b9f9967a50c89b6529ec104df3 Mon Sep 17 00:00:00 2001 From: Antonello Dettori Date: Sun, 5 Jun 2016 17:26:01 +0200 Subject: 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 Reviewed-on: https://review.coreboot.org/15075 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- util/cbfstool/Makefile | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'util') 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) -- cgit v1.2.3