build: add CONFIG_YAML
This commit is contained in:
parent
2a9ca329ff
commit
ec6077f26f
1 changed files with 9 additions and 0 deletions
9
Makefile
9
Makefile
|
@ -81,6 +81,15 @@ MULTICALL_${CONFIG_IFPARSE}_OBJ += ${IFPARSE_SRC:.c=.o}
|
||||||
CMDS_${CONFIG_IFPARSE} += ifparse
|
CMDS_${CONFIG_IFPARSE} += ifparse
|
||||||
CPPFLAGS_${CONFIG_IFPARSE} += -DCONFIG_IFPARSE
|
CPPFLAGS_${CONFIG_IFPARSE} += -DCONFIG_IFPARSE
|
||||||
|
|
||||||
|
# enable YAML support (+? KB)
|
||||||
|
CONFIG_YAML ?= Y
|
||||||
|
YAML_SRC = \
|
||||||
|
libifupdown/yaml-base.c \
|
||||||
|
libifupdown/yaml-writer.c
|
||||||
|
LIBIFUPDOWN_${CONFIG_YAML}_OBJ += ${YAML_SRC:.c=.o}
|
||||||
|
CPPFLAGS_${CONFIG_YAML} += -DCONFIG_YAML
|
||||||
|
|
||||||
|
LIBIFUPDOWN_OBJ += ${LIBIFUPDOWN_Y_OBJ}
|
||||||
MULTICALL_OBJ += ${MULTICALL_Y_OBJ}
|
MULTICALL_OBJ += ${MULTICALL_Y_OBJ}
|
||||||
CMDS += ${CMDS_Y}
|
CMDS += ${CMDS_Y}
|
||||||
CPPFLAGS += ${CPPFLAGS_Y}
|
CPPFLAGS += ${CPPFLAGS_Y}
|
||||||
|
|
Loading…
Reference in a new issue