summaryrefslogtreecommitdiff
path: root/util/supermicro/Makefile.inc
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2020-01-08 15:44:21 +0100
committerNico Huber <nico.h@gmx.de>2020-01-08 16:24:04 +0000
commita48e8f52d872ef9ce848d7337839430204f5b355 (patch)
tree957c105ed0495d3797c73c6b6a4e59b96957ee7e /util/supermicro/Makefile.inc
parent6779d2352cd33f98ad03e800c0de472fd3d3dfcc (diff)
downloadcoreboot-a48e8f52d872ef9ce848d7337839430204f5b355.tar.xz
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 <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/38270 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Christian Walter <christian.walter@9elements.com> Reviewed-by: ron minnich <rminnich@gmail.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'util/supermicro/Makefile.inc')
-rw-r--r--util/supermicro/Makefile.inc6
1 files changed, 3 insertions, 3 deletions
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