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