From a48e8f52d872ef9ce848d7337839430204f5b355 Mon Sep 17 00:00:00 2001 From: Patrick Rudolph Date: Wed, 8 Jan 2020 15:44:21 +0100 Subject: Make: Add supermicro/smcbiosinfo to tools Build the smcbiosinfo tool with other tools. Fixes possible race condition on jenkins. Change-Id: I38f7ee2fdef2818ad685b3de53ad74f7da50600f Signed-off-by: Patrick Rudolph Reviewed-on: https://review.coreboot.org/c/coreboot/+/38270 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber Reviewed-by: Christian Walter Reviewed-by: ron minnich Reviewed-by: Angel Pons --- Makefile.inc | 2 +- util/supermicro/Makefile.inc | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile.inc b/Makefile.inc index a54e57bc6c..002d3e7d0b 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -641,7 +641,7 @@ install-git-commit-clangfmt: include util/crossgcc/Makefile.inc .PHONY: tools -tools: $(objutil)/kconfig/conf $(objutil)/kconfig/toada $(CBFSTOOL) $(objutil)/cbfstool/cbfs-compression-tool $(FMAPTOOL) $(RMODTOOL) $(IFWITOOL) $(objutil)/nvramtool/nvramtool $(objutil)/sconfig/sconfig $(IFDTOOL) $(CBOOTIMAGE) $(AMDFWTOOL) $(AMDCOMPRESS) $(FUTILITY) $(BINCFG) $(IFITTOOL) +tools: $(objutil)/kconfig/conf $(objutil)/kconfig/toada $(CBFSTOOL) $(objutil)/cbfstool/cbfs-compression-tool $(FMAPTOOL) $(RMODTOOL) $(IFWITOOL) $(objutil)/nvramtool/nvramtool $(objutil)/sconfig/sconfig $(IFDTOOL) $(CBOOTIMAGE) $(AMDFWTOOL) $(AMDCOMPRESS) $(FUTILITY) $(BINCFG) $(IFITTOOL) $(objutil)/supermicro/smcbiosinfo ########################################################################### # Common recipes for all stages diff --git a/util/supermicro/Makefile.inc b/util/supermicro/Makefile.inc index e71cfbdb19..1aa5bcb437 100644 --- a/util/supermicro/Makefile.inc +++ b/util/supermicro/Makefile.inc @@ -1,6 +1,3 @@ -ifeq ($(CONFIG_VENDOR_SUPERMICRO),y) -ifneq ($(call strip_quotes, $(CONFIG_SUPERMICRO_BOARDID)),) - SMCBIOSINFOTOOL:= $(objutil)/supermicro/smcbiosinfo $(SMCBIOSINFOTOOL): $(dir)/smcbiosinfo/smcbiosinfo.c @@ -8,6 +5,9 @@ $(SMCBIOSINFOTOOL): $(dir)/smcbiosinfo/smcbiosinfo.c mkdir -p $(objutil)/supermicro $(HOSTCC) $< -o $@ +ifeq ($(CONFIG_VENDOR_SUPERMICRO),y) +ifneq ($(call strip_quotes, $(CONFIG_SUPERMICRO_BOARDID)),) + cbfs-files-y += smcbiosinfo.bin smcbiosinfo.bin-file := $(obj)/mainboard/$(MAINBOARDDIR)/smcbiosinfo.bin -- cgit v1.2.3