1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 2c0075838SRob HerringDTC_FLAGS_testcases := -Wno-interrupts_property 3f0570d91SFrank Rowandobj-y += testcases.dtb.o 4f0570d91SFrank Rowand 5*bd6dc70bSMasahiro Yamadaobj-$(CONFIG_OF_OVERLAY) += overlay.dtb.o \ 6*bd6dc70bSMasahiro Yamada overlay_bad_phandle.dtb.o \ 7*bd6dc70bSMasahiro Yamada overlay_bad_symbol.dtb.o \ 8*bd6dc70bSMasahiro Yamada overlay_base.dtb.o 960a0004cSFrank Rowand 10*bd6dc70bSMasahiro Yamadatargets += $(foreach suffix, dtb dtb.S, $(patsubst %.dtb.o,%.$(suffix),$(obj-y))) 11f0570d91SFrank Rowand 1281d0848fSFrank Rowand# enable creation of __symbols__ node 1381d0848fSFrank RowandDTC_FLAGS_overlay := -@ 1481d0848fSFrank RowandDTC_FLAGS_overlay_bad_phandle := -@ 1560a0004cSFrank RowandDTC_FLAGS_overlay_bad_symbol := -@ 1681d0848fSFrank RowandDTC_FLAGS_overlay_base := -@ 1760a0004cSFrank Rowand 1860a0004cSFrank Rowand.PRECIOUS: \ 1960a0004cSFrank Rowand $(obj)/%.dtb.S \ 2060a0004cSFrank Rowand $(obj)/%.dtb 21