util/mec152x/Makefile.mk: 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.

Signed-off-by: Maximilian Brune <maximilian.brune@9elements.com>
Change-Id: I4ce98f59b94d64ef4e0694e0c83f7b83f6feec7c
Reviewed-on: https://review.coreboot.org/c/coreboot/+/91141
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
Maximilian Brune 2026-02-09 20:00:23 +01:00 committed by Matt DeVillier
commit a6015c180b

View file

@ -8,6 +8,7 @@ MEC152XCFLAGS := -Wno-array-bounds -Wextra -O3 -Wshadow $(WERROR)
MEC152XCFLAGS += -I $(top)/util/cbfstool/flashmap/
MEC152XCFLAGS += -I $(top)/util/mec152x
MEC152XCFLAGS += -I $(top)/src/commonlib/bsd/include
MEC152XCFLAGS += -include $(top)/src/commonlib/bsd/include/commonlib/bsd/compiler.h
additional-dirs += $(objutil)/mec152x