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>
This commit is contained in:
parent
00f21c7724
commit
75c37058b3
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue