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>
This commit is contained in:
Furquan Shaikh 2016-05-30 23:03:58 -07:00
parent 55d2e5398b
commit 3ac9d4cbb0
1 changed files with 6 additions and 2 deletions

View File

@ -53,7 +53,7 @@ export objgenerated := $(obj)/generated
####################################################################### #######################################################################
# root rule to resolve if in build mode (ie. configuration exists) # root rule to resolve if in build mode (ie. configuration exists)
real-target: $(obj)/config.h coreboot files_added 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 # 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 # targets after the build completes by creating a Makefile.inc in the
@ -385,6 +385,7 @@ build-dirs:
CBFSTOOL:=$(objutil)/cbfstool/cbfstool CBFSTOOL:=$(objutil)/cbfstool/cbfstool
FMAPTOOL:=$(objutil)/cbfstool/fmaptool FMAPTOOL:=$(objutil)/cbfstool/fmaptool
RMODTOOL:=$(objutil)/cbfstool/rmodtool RMODTOOL:=$(objutil)/cbfstool/rmodtool
IFWITOOL:=$(objutil)/cbfstool/ifwitool
$(obj)/cbfstool: $(CBFSTOOL) $(obj)/cbfstool: $(CBFSTOOL)
cp $< $@ cp $< $@
@ -395,6 +396,9 @@ $(obj)/fmaptool: $(FMAPTOOL)
$(obj)/rmodtool: $(RMODTOOL) $(obj)/rmodtool: $(RMODTOOL)
cp $< $@ cp $< $@
$(obj)/ifwitool: $(IFWITOOL)
cp $< $@
_WINCHECK=$(shell uname -o 2> /dev/null) _WINCHECK=$(shell uname -o 2> /dev/null)
STACK= STACK=
ifeq ($(_WINCHECK),Msys) ifeq ($(_WINCHECK),Msys)
@ -512,7 +516,7 @@ gitconfig:
include util/crossgcc/Makefile.inc include util/crossgcc/Makefile.inc
.PHONY: tools .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 # Common recipes for all stages