c86da84d30
YAML encoded DT is useful for validation of DTs using binding schemas. The YAML encoding is an intermediate format used for validation and is therefore subject to change as needed. The YAML output is dependent on DTS input with type information preserved. Signed-off-by: Grant Likely <grant.likely@arm.com> [robh: make YAML support optional, build fixes, Travis CI test, preserve type information in paths and phandles] Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
22 lines
423 B
Makefile
22 lines
423 B
Makefile
# Makefile.dtc
|
|
#
|
|
# This is not a complete Makefile of itself. Instead, it is designed to
|
|
# be easily embeddable into other systems of Makefiles.
|
|
#
|
|
DTC_SRCS = \
|
|
checks.c \
|
|
data.c \
|
|
dtc.c \
|
|
flattree.c \
|
|
fstree.c \
|
|
livetree.c \
|
|
srcpos.c \
|
|
treesource.c \
|
|
util.c
|
|
|
|
ifneq ($(NO_YAML),1)
|
|
DTC_SRCS += yamltree.c
|
|
endif
|
|
|
|
DTC_GEN_SRCS = dtc-lexer.lex.c dtc-parser.tab.c
|
|
DTC_OBJS = $(DTC_SRCS:%.c=%.o) $(DTC_GEN_SRCS:%.c=%.o)
|