Makefile (bba73071b6f71be0a101658d7c13866e30b264a6) Makefile (39a751a4cb7e4798f0ce1169ec92de4a1aae39e3)
1# SPDX-License-Identifier: GPL-2.0
1# SPDX-License-Identifier: GPL-2.0
2DTC_FLAGS_testcases := -Wno-interrupts_property
3obj-y += testcases.dtb.o
4
5obj-$(CONFIG_OF_OVERLAY) += overlay.dtb.o \
2obj-y += testcases.dtb.o
3
4obj-$(CONFIG_OF_OVERLAY) += overlay.dtb.o \
5 overlay_0.dtb.o \
6 overlay_1.dtb.o \
7 overlay_2.dtb.o \
8 overlay_3.dtb.o \
9 overlay_4.dtb.o \
10 overlay_5.dtb.o \
11 overlay_6.dtb.o \
12 overlay_7.dtb.o \
13 overlay_8.dtb.o \
14 overlay_9.dtb.o \
15 overlay_10.dtb.o \
16 overlay_11.dtb.o \
17 overlay_12.dtb.o \
18 overlay_13.dtb.o \
19 overlay_15.dtb.o \
6 overlay_bad_phandle.dtb.o \
7 overlay_bad_symbol.dtb.o \
8 overlay_base.dtb.o
9
10targets += $(foreach suffix, dtb dtb.S, $(patsubst %.dtb.o,%.$(suffix),$(obj-y)))
11
12# enable creation of __symbols__ node
20 overlay_bad_phandle.dtb.o \
21 overlay_bad_symbol.dtb.o \
22 overlay_base.dtb.o
23
24targets += $(foreach suffix, dtb dtb.S, $(patsubst %.dtb.o,%.$(suffix),$(obj-y)))
25
26# enable creation of __symbols__ node
13DTC_FLAGS_overlay := -@
14DTC_FLAGS_overlay_bad_phandle := -@
15DTC_FLAGS_overlay_bad_symbol := -@
16DTC_FLAGS_overlay_base := -@
27DTC_FLAGS_overlay += -@
28DTC_FLAGS_overlay_bad_phandle += -@
29DTC_FLAGS_overlay_bad_symbol += -@
30DTC_FLAGS_overlay_base += -@
31DTC_FLAGS_testcases += -@
17
32
33# suppress warnings about intentional errors
34DTC_FLAGS_testcases += -Wno-interrupts_property
35
18.PRECIOUS: \
19 $(obj)/%.dtb.S \
20 $(obj)/%.dtb
36.PRECIOUS: \
37 $(obj)/%.dtb.S \
38 $(obj)/%.dtb