1# SPDX-License-Identifier: GPL-2.0 2obj-y += testcases.dtb.o 3 4targets += testcases.dtb testcases.dtb.S 5 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 13targets += overlay.dtb overlay.dtb.S 14targets += overlay_bad_phandle.dtb overlay_bad_phandle.dtb.S 15targets += overlay_bad_symbol.dtb overlay_bad_symbol.dtb.S 16targets += overlay_base.dtb overlay_base.dtb.S 17 18# enable creation of __symbols__ node 19DTC_FLAGS_overlay := -@ 20DTC_FLAGS_overlay_bad_phandle := -@ 21DTC_FLAGS_overlay_bad_symbol := -@ 22DTC_FLAGS_overlay_base := -@ 23 24endif 25 26.PRECIOUS: \ 27 $(obj)/%.dtb.S \ 28 $(obj)/%.dtb 29