Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Frank Rowand | f0570d9 | 2015-03-13 12:21:46 -0700 | [diff] [blame] | 2 | obj-y += testcases.dtb.o |
| 3 | |
| 4 | targets += testcases.dtb testcases.dtb.S |
Frank Rowand | 60a0004 | 2017-07-19 09:25:20 -0700 | [diff] [blame] | 5 | |
| 6 | ifdef CONFIG_OF_OVERLAY |
| 7 | |
| 8 | obj-y += overlay.dtb.o |
| 9 | obj-y += overlay_bad_phandle.dtb.o |
| 10 | obj-y += overlay_bad_symbol.dtb.o |
| 11 | obj-y += overlay_base.dtb.o |
| 12 | |
Frank Rowand | 81d0848f | 2017-04-25 17:09:54 -0700 | [diff] [blame] | 13 | targets += overlay.dtb overlay.dtb.S |
| 14 | targets += overlay_bad_phandle.dtb overlay_bad_phandle.dtb.S |
Frank Rowand | 60a0004 | 2017-07-19 09:25:20 -0700 | [diff] [blame] | 15 | targets += overlay_bad_symbol.dtb overlay_bad_symbol.dtb.S |
Frank Rowand | 81d0848f | 2017-04-25 17:09:54 -0700 | [diff] [blame] | 16 | targets += overlay_base.dtb overlay_base.dtb.S |
Frank Rowand | f0570d9 | 2015-03-13 12:21:46 -0700 | [diff] [blame] | 17 | |
Frank Rowand | 81d0848f | 2017-04-25 17:09:54 -0700 | [diff] [blame] | 18 | # enable creation of __symbols__ node |
| 19 | DTC_FLAGS_overlay := -@ |
| 20 | DTC_FLAGS_overlay_bad_phandle := -@ |
Frank Rowand | 60a0004 | 2017-07-19 09:25:20 -0700 | [diff] [blame] | 21 | DTC_FLAGS_overlay_bad_symbol := -@ |
Frank Rowand | 81d0848f | 2017-04-25 17:09:54 -0700 | [diff] [blame] | 22 | DTC_FLAGS_overlay_base := -@ |
Frank Rowand | 60a0004 | 2017-07-19 09:25:20 -0700 | [diff] [blame] | 23 | |
| 24 | endif |
| 25 | |
| 26 | .PRECIOUS: \ |
| 27 | $(obj)/%.dtb.S \ |
| 28 | $(obj)/%.dtb |