]> git.ipfire.org Git - thirdparty/kernel/linux.git/blob - arch/microblaze/boot/dts/Makefile
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[thirdparty/kernel/linux.git] / arch / microblaze / boot / dts / Makefile
1 # SPDX-License-Identifier: GPL-2.0
2 #
3
4 obj-y += linked_dtb.o
5
6 # Ensure system.dtb exists
7 $(obj)/linked_dtb.o: $(obj)/system.dtb
8
9 # Generate system.dtb from $(DTB).dtb
10 ifneq ($(DTB),system)
11 $(obj)/system.dtb: $(obj)/$(DTB).dtb
12 $(call if_changed,cp)
13 endif
14
15 quiet_cmd_cp = CP $< $@$2
16 cmd_cp = cat $< >$@$2 || (rm -f $@ && echo false)
17
18 # Rule to build device tree blobs
19 DTC_FLAGS := -p 1024