Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Rob Herring | c007583 | 2017-11-16 11:54:17 -0600 | [diff] [blame] | 2 | DTC_FLAGS_testcases := -Wno-interrupts_property |
Frank Rowand | f0570d9 | 2015-03-13 12:21:46 -0700 | [diff] [blame] | 3 | obj-y += testcases.dtb.o |
| 4 | |
Masahiro Yamada | bd6dc70 | 2018-01-05 20:55:30 +0900 | [diff] [blame] | 5 | obj-$(CONFIG_OF_OVERLAY) += overlay.dtb.o \ |
| 6 | overlay_bad_phandle.dtb.o \ |
| 7 | overlay_bad_symbol.dtb.o \ |
| 8 | overlay_base.dtb.o |
Frank Rowand | 60a0004 | 2017-07-19 09:25:20 -0700 | [diff] [blame] | 9 | |
Masahiro Yamada | bd6dc70 | 2018-01-05 20:55:30 +0900 | [diff] [blame] | 10 | targets += $(foreach suffix, dtb dtb.S, $(patsubst %.dtb.o,%.$(suffix),$(obj-y))) |
Frank Rowand | f0570d9 | 2015-03-13 12:21:46 -0700 | [diff] [blame] | 11 | |
Frank Rowand | 81d0848f | 2017-04-25 17:09:54 -0700 | [diff] [blame] | 12 | # enable creation of __symbols__ node |
| 13 | DTC_FLAGS_overlay := -@ |
| 14 | DTC_FLAGS_overlay_bad_phandle := -@ |
Frank Rowand | 60a0004 | 2017-07-19 09:25:20 -0700 | [diff] [blame] | 15 | DTC_FLAGS_overlay_bad_symbol := -@ |
Frank Rowand | 81d0848f | 2017-04-25 17:09:54 -0700 | [diff] [blame] | 16 | DTC_FLAGS_overlay_base := -@ |
Frank Rowand | 60a0004 | 2017-07-19 09:25:20 -0700 | [diff] [blame] | 17 | |
Frank Rowand | 60a0004 | 2017-07-19 09:25:20 -0700 | [diff] [blame] | 18 | .PRECIOUS: \ |
| 19 | $(obj)/%.dtb.S \ |
| 20 | $(obj)/%.dtb |