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