1# SPDX-License-Identifier: GPL-2.0 2DTC_FLAGS_testcases := -Wno-interrupts_property 3obj-y += testcases.dtb.o 4 5targets += testcases.dtb testcases.dtb.S 6 7ifdef CONFIG_OF_OVERLAY 8 9obj-y += overlay.dtb.o 10obj-y += overlay_bad_phandle.dtb.o 11obj-y += overlay_bad_symbol.dtb.o 12obj-y += overlay_base.dtb.o 13 14targets += overlay.dtb overlay.dtb.S 15targets += overlay_bad_phandle.dtb overlay_bad_phandle.dtb.S 16targets += overlay_bad_symbol.dtb overlay_bad_symbol.dtb.S 17targets += overlay_base.dtb overlay_base.dtb.S 18 19# enable creation of __symbols__ node 20DTC_FLAGS_overlay := -@ 21DTC_FLAGS_overlay_bad_phandle := -@ 22DTC_FLAGS_overlay_bad_symbol := -@ 23DTC_FLAGS_overlay_base := -@ 24 25endif 26 27.PRECIOUS: \ 28 $(obj)/%.dtb.S \ 29 $(obj)/%.dtb 30