Loading...
1# SPDX-License-Identifier: GPL-2.0
2ifneq '$(CONFIG_H8300_BUILTIN_DTB)' '""'
3BUILTIN_DTB := $(patsubst "%",%,$(CONFIG_H8300_BUILTIN_DTB)).dtb.o
4endif
5
6obj-y += $(BUILTIN_DTB)
7
8dtb-$(CONFIG_H8300H_SIM) := h8300h_sim.dtb
9dtb-$(CONFIG_H8S_SIM) := h8s_sim.dtb
10dtb-$(CONFIG_H8S_EDOSK2674) := edosk2674.dtb
1ifneq '$(CONFIG_H8300_BUILTIN_DTB)' '""'
2BUILTIN_DTB := $(patsubst "%",%,$(CONFIG_H8300_BUILTIN_DTB)).dtb.o
3endif
4
5obj-y += $(BUILTIN_DTB)
6
7dtb-$(CONFIG_H8300H_SIM) := h8300h_sim.dtb
8dtb-$(CONFIG_H8S_SIM) := h8s_sim.dtb
9dtb-$(CONFIG_H8S_EDOSK2674) := edosk2674.dtb
10
11dtstree := $(srctree)/$(src)
12dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(dtstree)/%.dts,%.dtb, $(wildcard $(dtstree)/*.dts))
13
14always := $(dtb-y)
15clean-files := *.dtb.S *.dtb