Makefile (976e3645923bdd2fe7893aae33fd7a21098bfb28) Makefile (129ab0d2d9f38b9d43df35235fc66c6740d6928b)
1# SPDX-License-Identifier: GPL-2.0
2# Built-in dtb
3builtindtb-y := nsim_700
4
1# SPDX-License-Identifier: GPL-2.0
2# Built-in dtb
3builtindtb-y := nsim_700
4
5ifneq ($(CONFIG_ARC_BUILTIN_DTB_NAME),"")
6 builtindtb-y := $(patsubst "%",%,$(CONFIG_ARC_BUILTIN_DTB_NAME))
5ifneq ($(CONFIG_ARC_BUILTIN_DTB_NAME),)
6 builtindtb-y := $(CONFIG_ARC_BUILTIN_DTB_NAME)
7endif
8
9obj-y += $(builtindtb-y).dtb.o
10dtb-y := $(builtindtb-y).dtb
11
12# for CONFIG_OF_ALL_DTBS test
13dtstree := $(srctree)/$(src)
14dtb- := $(patsubst $(dtstree)/%.dts,%.dtb, $(wildcard $(dtstree)/*.dts))
15
16# board-specific dtc flags
17DTC_FLAGS_hsdk += --pad 20
7endif
8
9obj-y += $(builtindtb-y).dtb.o
10dtb-y := $(builtindtb-y).dtb
11
12# for CONFIG_OF_ALL_DTBS test
13dtstree := $(srctree)/$(src)
14dtb- := $(patsubst $(dtstree)/%.dts,%.dtb, $(wildcard $(dtstree)/*.dts))
15
16# board-specific dtc flags
17DTC_FLAGS_hsdk += --pad 20