Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
Tom Rini | da58dec | 2015-11-10 01:06:16 +0000 | [diff] [blame] | 2 | |
Mario Six | c6b89f3 | 2018-02-12 08:05:57 +0100 | [diff] [blame] | 3 | ifdef CONFIG_SANDBOX64 |
| 4 | dtb-$(CONFIG_SANDBOX) += sandbox64.dtb |
| 5 | else |
Simon Glass | 714a562 | 2014-02-26 15:59:14 -0700 | [diff] [blame] | 6 | dtb-$(CONFIG_SANDBOX) += sandbox.dtb |
Mario Six | c6b89f3 | 2018-02-12 08:05:57 +0100 | [diff] [blame] | 7 | endif |
Simon Glass | b14d547 | 2015-05-23 11:53:57 -0600 | [diff] [blame] | 8 | dtb-$(CONFIG_UT_DM) += test.dtb |
Simon Glass | 714a562 | 2014-02-26 15:59:14 -0700 | [diff] [blame] | 9 | |
| 10 | targets += $(dtb-y) |
| 11 | |
| 12 | DTC_FLAGS += -R 4 -p 0x1000 |
| 13 | |
| 14 | PHONY += dtbs |
| 15 | dtbs: $(addprefix $(obj)/, $(dtb-y)) |
| 16 | @: |
| 17 | |
| 18 | clean-files := *.dtb |