Makefile 634 字节
Newer Older
1
obj-y += testcases.dtb.o
2 3 4 5 6

targets += testcases.dtb testcases.dtb.S

ifdef CONFIG_OF_OVERLAY

7 8
obj-y += overlay.dtb.o
obj-y += overlay_bad_phandle.dtb.o
9
obj-y += overlay_bad_symbol.dtb.o
10
obj-y += overlay_base.dtb.o
11

12 13
targets += overlay.dtb overlay.dtb.S
targets += overlay_bad_phandle.dtb overlay_bad_phandle.dtb.S
14
targets += overlay_bad_symbol.dtb overlay_bad_symbol.dtb.S
15
targets += overlay_base.dtb overlay_base.dtb.S
16

17 18 19
# enable creation of __symbols__ node
DTC_FLAGS_overlay := -@
DTC_FLAGS_overlay_bad_phandle := -@
20
DTC_FLAGS_overlay_bad_symbol := -@
21
DTC_FLAGS_overlay_base := -@
22 23 24 25 26 27

endif

.PRECIOUS: \
	$(obj)/%.dtb.S \
	$(obj)/%.dtb