diff options
author | Furquan Shaikh <furquan@google.com> | 2016-05-30 23:03:58 -0700 |
---|---|---|
committer | Furquan Shaikh <furquan@google.com> | 2016-06-01 21:16:58 +0200 |
commit | 3ac9d4cbb0354dedb95c44fcd656a23071dfc326 (patch) | |
tree | 1305793f08128ee16372e7add8169387ddc07b91 /Makefile.inc | |
parent | 55d2e5398b79c4f4c63caee39a9fb740fab7ae52 (diff) |
Makefile: Add ifwitool to list of tools to be built
Add ifwitool to list of tools to be built so that it can be used by the
build system.
Change-Id: Ifcfbfd87ad9b7ba3ea11cfbcf40894f3e0dae694
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://review.coreboot.org/15013
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'Makefile.inc')
-rw-r--r-- | Makefile.inc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile.inc b/Makefile.inc index 574f2fe922..19377c9e1c 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -53,7 +53,7 @@ export objgenerated := $(obj)/generated ####################################################################### # root rule to resolve if in build mode (ie. configuration exists) real-target: $(obj)/config.h coreboot files_added -coreboot: build-dirs $(obj)/coreboot.rom $(obj)/cbfstool $(obj)/rmodtool +coreboot: build-dirs $(obj)/coreboot.rom $(obj)/cbfstool $(obj)/rmodtool $(obj)/ifwitool # This target can be used in site local to run scripts or additional # targets after the build completes by creating a Makefile.inc in the @@ -385,6 +385,7 @@ build-dirs: CBFSTOOL:=$(objutil)/cbfstool/cbfstool FMAPTOOL:=$(objutil)/cbfstool/fmaptool RMODTOOL:=$(objutil)/cbfstool/rmodtool +IFWITOOL:=$(objutil)/cbfstool/ifwitool $(obj)/cbfstool: $(CBFSTOOL) cp $< $@ @@ -395,6 +396,9 @@ $(obj)/fmaptool: $(FMAPTOOL) $(obj)/rmodtool: $(RMODTOOL) cp $< $@ +$(obj)/ifwitool: $(IFWITOOL) + cp $< $@ + _WINCHECK=$(shell uname -o 2> /dev/null) STACK= ifeq ($(_WINCHECK),Msys) @@ -512,7 +516,7 @@ gitconfig: include util/crossgcc/Makefile.inc .PHONY: tools -tools: $(objutil)/kconfig/conf $(CBFSTOOL) $(FMAPTOOL) $(RMODTOOL) $(objutil)/nvramtool/nvramtool $(ROMCC_BIN) $(objutil)/sconfig/sconfig $(IFDTOOL) $(IFDFAKE) $(CBOOTIMAGE) $(AMDFWTOOL) $(FUTILITY) +tools: $(objutil)/kconfig/conf $(CBFSTOOL) $(FMAPTOOL) $(RMODTOOL) $(IFWITOOL) $(objutil)/nvramtool/nvramtool $(ROMCC_BIN) $(objutil)/sconfig/sconfig $(IFDTOOL) $(IFDFAKE) $(CBOOTIMAGE) $(AMDFWTOOL) $(FUTILITY) ########################################################################### # Common recipes for all stages |