Rob Herring | acfe84f | 2019-06-20 15:19:38 -0600 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-or-later |
David Gibson | ad9593f | 2007-10-04 15:37:43 +1000 | [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 | # |
Jon Loeliger | 879e4d2 | 2008-10-03 11:12:33 -0500 | [diff] [blame] | 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 | |
Grant Likely | c86da84 | 2018-09-11 15:41:31 -0500 | [diff] [blame] | 18 | ifneq ($(NO_YAML),1) |
| 19 | DTC_SRCS += yamltree.c |
| 20 | endif |
| 21 | |
David Gibson | 6a6c972 | 2008-05-16 13:20:41 +1000 | [diff] [blame] | 22 | DTC_GEN_SRCS = dtc-lexer.lex.c dtc-parser.tab.c |
David Gibson | ad9593f | 2007-10-04 15:37:43 +1000 | [diff] [blame] | 23 | DTC_OBJS = $(DTC_SRCS:%.c=%.o) $(DTC_GEN_SRCS:%.c=%.o) |