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