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 | |
Rasmus Villemoes | c8481ef | 2022-01-10 14:34:41 +0100 | [diff] [blame] | 11 | include $(srctree)/scripts/Makefile.dts |
| 12 | |
Simon Glass | 66c164b | 2014-02-26 15:59:14 -0700 | [diff] [blame] | 13 | targets += $(dtb-y) |
| 14 | |
| 15 | DTC_FLAGS += -R 4 -p 0x1000 |
| 16 | |
| 17 | PHONY += dtbs |
| 18 | dtbs: $(addprefix $(obj)/, $(dtb-y)) |
| 19 | @: |
| 20 | |
| 21 | clean-files := *.dtb |