Patrick Georgi has submitted this change and it was merged. ( https://review.coreboot.org/c/coreboot/+/31932 )
Change subject: util/sconfig: Add commonlib/helpers.h ......................................................................
util/sconfig: Add commonlib/helpers.h
Followup work injects ARRAY_SIZE() in static.c
Change-Id: Ifbcaa1b613aef312d3876e8b536499a9f01a8d19 Signed-off-by: Kyösti Mälkki kyosti.malkki@gmail.com Reviewed-on: https://review.coreboot.org/c/coreboot/+/31932 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: HAOUAS Elyes ehaouas@noos.fr Reviewed-by: Martin Roth martinroth@google.com --- M util/sconfig/Makefile.inc M util/sconfig/main.c 2 files changed, 2 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Martin Roth: Looks good to me, approved HAOUAS Elyes: Looks good to me, but someone else must approve
diff --git a/util/sconfig/Makefile.inc b/util/sconfig/Makefile.inc index 76bbd45..c47b439 100644 --- a/util/sconfig/Makefile.inc +++ b/util/sconfig/Makefile.inc @@ -4,6 +4,7 @@ sconfigobj += main.o
SCONFIGFLAGS += -I$(top)/util/sconfig -I$(objutil)/sconfig +SCONFIGFLAGS += -I$(top)/src/commonlib/include
$(objutil)/sconfig: mkdir -p $@ diff --git a/util/sconfig/main.c b/util/sconfig/main.c index 265e728..385ced1 100644 --- a/util/sconfig/main.c +++ b/util/sconfig/main.c @@ -15,6 +15,7 @@ */
#include <ctype.h> +#include <commonlib/helpers.h> #include "sconfig.h" #include "sconfig.tab.h"