scripts/dtc: Update to upstream version v1.5.0-30-g702c1b6c0e73
[linux-2.6-block.git] / scripts / dtc / Makefile.dtc
CommitLineData
12869ecd 1# SPDX-License-Identifier: GPL-2.0-or-later
a4da2e3e
DG
2# Makefile.dtc
3#
4# This is not a complete Makefile of itself. Instead, it is designed to
5# be easily embeddable into other systems of Makefiles.
6#
cd296721
SW
7DTC_SRCS = \
8 checks.c \
9 data.c \
10 dtc.c \
11 flattree.c \
12 fstree.c \
13 livetree.c \
14 srcpos.c \
15 treesource.c \
16 util.c
17
f858927f
RH
18ifneq ($(NO_YAML),1)
19DTC_SRCS += yamltree.c
20endif
21
ed95d745 22DTC_GEN_SRCS = dtc-lexer.lex.c dtc-parser.tab.c
a4da2e3e 23DTC_OBJS = $(DTC_SRCS:%.c=%.o) $(DTC_GEN_SRCS:%.c=%.o)