]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - arch/c6x/boot/dts/Makefile
Merge branches 'acpi-pmic', 'acpi-apei' and 'acpi-x86'
[mirror_ubuntu-bionic-kernel.git] / arch / c6x / boot / dts / Makefile
1 # SPDX-License-Identifier: GPL-2.0
2 #
3 # Makefile for device trees
4 #
5
6 DTC_FLAGS ?= -p 1024
7
8 ifneq ($(DTB),)
9 obj-y += linked_dtb.o
10 endif
11
12 quiet_cmd_cp = CP $< $@$2
13 cmd_cp = cat $< >$@$2 || (rm -f $@ && echo false)
14
15 # Generate builtin.dtb from $(DTB).dtb
16 $(obj)/builtin.dtb: $(obj)/$(DTB).dtb
17 $(call if_changed,cp)
18
19 $(obj)/linked_dtb.o: $(obj)/builtin.dtb
20
21 clean-files := *.dtb