util/mec152x/Makefile: Include commonlib/bsd/compiler.h
cbfstool/flashmap/kv_pair.h uses the `__printf` macro. So we need to include the header file defining `__printf` in the compilation. The tooling can now be compiled on its own outside the coreboot build system. Change-Id: I5a622b50684c42773e66e6d9145d5de9858c9e9a Signed-off-by: Maximilian Brune <maximilian.brune@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/91887 Reviewed-by: Patrick Rudolph <patrick.rudolph@9elements.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
576515394c
commit
c5e905fa21
1 changed files with 1 additions and 0 deletions
|
|
@ -13,6 +13,7 @@ HOSTCFLAGS ?= $(CFLAGS)
|
|||
HOSTCFLAGS += -Wall -Wextra -MMD -MP -O3
|
||||
HOSTCFLAGS += -I $(TOP)/util/cbfstool/flashmap/
|
||||
HOSTCFLAGS += -I $(ROOT)/commonlib/bsd/include
|
||||
HOSTCFLAGS += -include $(TOP)/src/commonlib/bsd/include/commonlib/bsd/compiler.h
|
||||
|
||||
HOSTLDFLAGS ?= $(LDFLAGS)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue