a48e8f52d8
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>
21 lines
703 B
Makefile
21 lines
703 B
Makefile
SMCBIOSINFOTOOL:= $(objutil)/supermicro/smcbiosinfo
|
|
|
|
$(SMCBIOSINFOTOOL): $(dir)/smcbiosinfo/smcbiosinfo.c
|
|
printf " HOSTCC Creating SMCBIOSINFO tool\n"
|
|
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
|
|
smcbiosinfo.bin-type := raw
|
|
smcbiosinfo.bin-compression := none
|
|
|
|
$(obj)/mainboard/$(MAINBOARDDIR)/smcbiosinfo.bin: $(SMCBIOSINFOTOOL) $(build_h)
|
|
printf " TOOL Creating SMC BIOSINFO metadata\n"
|
|
$(SMCBIOSINFOTOOL) -i $(build_h) -b $(CONFIG_SUPERMICRO_BOARDID) -o $@
|
|
endif
|
|
endif
|