Makefile (9a8dfb394c046742b2ac7444ba42272e11e9989d) Makefile (b23d1a241f4eb44ae55785c9b65274717c8e2c1e)
1# SPDX-License-Identifier: GPL-2.0
2# scripts/dtc makefile
3
4hostprogs-y := dtc
5always := $(hostprogs-y)
6
7dtc-objs := dtc.o flattree.o fstree.o data.o livetree.o treesource.o \
8 srcpos.o checks.o util.o

--- 13 unchanged lines hidden (view full) ---

22HOSTCFLAGS_treesource.o := $(HOSTCFLAGS_DTC)
23HOSTCFLAGS_util.o := $(HOSTCFLAGS_DTC)
24
25HOSTCFLAGS_dtc-lexer.lex.o := $(HOSTCFLAGS_DTC)
26HOSTCFLAGS_dtc-parser.tab.o := $(HOSTCFLAGS_DTC)
27
28# dependencies on generated files need to be listed explicitly
29$(obj)/dtc-lexer.lex.o: $(obj)/dtc-parser.tab.h
1# SPDX-License-Identifier: GPL-2.0
2# scripts/dtc makefile
3
4hostprogs-y := dtc
5always := $(hostprogs-y)
6
7dtc-objs := dtc.o flattree.o fstree.o data.o livetree.o treesource.o \
8 srcpos.o checks.o util.o

--- 13 unchanged lines hidden (view full) ---

22HOSTCFLAGS_treesource.o := $(HOSTCFLAGS_DTC)
23HOSTCFLAGS_util.o := $(HOSTCFLAGS_DTC)
24
25HOSTCFLAGS_dtc-lexer.lex.o := $(HOSTCFLAGS_DTC)
26HOSTCFLAGS_dtc-parser.tab.o := $(HOSTCFLAGS_DTC)
27
28# dependencies on generated files need to be listed explicitly
29$(obj)/dtc-lexer.lex.o: $(obj)/dtc-parser.tab.h
30
31# generated files need to include *.cmd
32targets := dtc-lexer.lex.c dtc-parser.tab.c dtc-parser.tab.h