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:
parent
5ccce7cdc7
commit
e29a6ac16a
|
@ -4,6 +4,7 @@ sconfigobj += sconfig.tab.o
|
||||||
sconfigobj += main.o
|
sconfigobj += main.o
|
||||||
|
|
||||||
SCONFIGFLAGS += -I$(top)/util/sconfig -I$(objutil)/sconfig
|
SCONFIGFLAGS += -I$(top)/util/sconfig -I$(objutil)/sconfig
|
||||||
|
SCONFIGFLAGS += -I$(top)/src/commonlib/include
|
||||||
|
|
||||||
$(objutil)/sconfig:
|
$(objutil)/sconfig:
|
||||||
mkdir -p $@
|
mkdir -p $@
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
#include <commonlib/helpers.h>
|
||||||
#include "sconfig.h"
|
#include "sconfig.h"
|
||||||
#include "sconfig.tab.h"
|
#include "sconfig.tab.h"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue