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>
This commit is contained in:
Kyösti Mälkki 2019-03-15 17:05:19 +02:00 committed by Patrick Georgi
parent 5ccce7cdc7
commit e29a6ac16a
2 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,7 @@ sconfigobj += sconfig.tab.o
sconfigobj += main.o
SCONFIGFLAGS += -I$(top)/util/sconfig -I$(objutil)/sconfig
SCONFIGFLAGS += -I$(top)/src/commonlib/include
$(objutil)/sconfig:
mkdir -p $@

View File

@ -15,6 +15,7 @@
*/
#include <ctype.h>
#include <commonlib/helpers.h>
#include "sconfig.h"
#include "sconfig.tab.h"