blob: 3031fc2f18f6fd6b8bb5ae8bd17b9c72ed733b4f [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Frank Rowandf0570d92015-03-13 12:21:46 -07002obj-y += testcases.dtb.o
3
4targets += testcases.dtb testcases.dtb.S
Frank Rowand60a00042017-07-19 09:25:20 -07005
6ifdef CONFIG_OF_OVERLAY
7
8obj-y += overlay.dtb.o
9obj-y += overlay_bad_phandle.dtb.o
10obj-y += overlay_bad_symbol.dtb.o
11obj-y += overlay_base.dtb.o
12
Frank Rowand81d0848f2017-04-25 17:09:54 -070013targets += overlay.dtb overlay.dtb.S
14targets += overlay_bad_phandle.dtb overlay_bad_phandle.dtb.S
Frank Rowand60a00042017-07-19 09:25:20 -070015targets += overlay_bad_symbol.dtb overlay_bad_symbol.dtb.S
Frank Rowand81d0848f2017-04-25 17:09:54 -070016targets += overlay_base.dtb overlay_base.dtb.S
Frank Rowandf0570d92015-03-13 12:21:46 -070017
Frank Rowand81d0848f2017-04-25 17:09:54 -070018# enable creation of __symbols__ node
19DTC_FLAGS_overlay := -@
20DTC_FLAGS_overlay_bad_phandle := -@
Frank Rowand60a00042017-07-19 09:25:20 -070021DTC_FLAGS_overlay_bad_symbol := -@
Frank Rowand81d0848f2017-04-25 17:09:54 -070022DTC_FLAGS_overlay_base := -@
Frank Rowand60a00042017-07-19 09:25:20 -070023
24endif
25
26.PRECIOUS: \
27 $(obj)/%.dtb.S \
28 $(obj)/%.dtb