blob: 9c467b096f035e7ba68dbb4edfb24e8cd531c1c8 [file] [log] [blame]
Rob Herringacfe84f2019-06-20 15:19:38 -06001# SPDX-License-Identifier: GPL-2.0-or-later
David Gibsonad9593f2007-10-04 15:37:43 +10002# 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#
Jon Loeliger879e4d22008-10-03 11:12:33 -05007DTC_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
Grant Likelyc86da842018-09-11 15:41:31 -050018ifneq ($(NO_YAML),1)
19DTC_SRCS += yamltree.c
20endif
21
David Gibson6a6c9722008-05-16 13:20:41 +100022DTC_GEN_SRCS = dtc-lexer.lex.c dtc-parser.tab.c
David Gibsonad9593f2007-10-04 15:37:43 +100023DTC_OBJS = $(DTC_SRCS:%.c=%.o) $(DTC_GEN_SRCS:%.c=%.o)