Tom Rini | e6cccae | 2020-10-16 12:30:58 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-or-later |
Tom Rini | c0e032e | 2017-09-23 12:52:44 -0400 | [diff] [blame] | 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 | # |
| 7 | DTC_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 | |
Tom Rini | e6cccae | 2020-10-16 12:30:58 -0400 | [diff] [blame] | 18 | ifneq ($(NO_YAML),1) |
| 19 | DTC_SRCS += yamltree.c |
| 20 | endif |
| 21 | |
Tom Rini | c0e032e | 2017-09-23 12:52:44 -0400 | [diff] [blame] | 22 | DTC_GEN_SRCS = dtc-lexer.lex.c dtc-parser.tab.c |
| 23 | DTC_OBJS = $(DTC_SRCS:%.c=%.o) $(DTC_GEN_SRCS:%.c=%.o) |