Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / arch / c6x / boot / dts / Makefile
blobb212d278ebc42e0c67176d203867aa9196280f45
1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for device trees
6 DTC_FLAGS ?= -p 1024
8 ifneq ($(DTB),)
9 obj-y += linked_dtb.o
10 endif
12 quiet_cmd_cp = CP $< $@$2
13 cmd_cp = cat $< >$@$2 || (rm -f $@ && echo false)
15 # Generate builtin.dtb from $(DTB).dtb
16 $(obj)/builtin.dtb: $(obj)/$(DTB).dtb
17 $(call if_changed,cp)
19 $(obj)/linked_dtb.o: $(obj)/builtin.dtb