mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-10-23 07:23:12 +02:00
LoongArch: Migrate to the generic rule for built-in DTB
Commit 654102df2a
("kbuild: add generic support for built-in boot
DTBs") introduced generic support for built-in DTBs.
Select GENERIC_BUILTIN_DTB when built-in DTB support is enabled.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
This commit is contained in:
parent
09e9d370ce
commit
c91ddab579
|
@ -4,7 +4,6 @@ obj-y += net/
|
||||||
obj-y += vdso/
|
obj-y += vdso/
|
||||||
|
|
||||||
obj-$(CONFIG_KVM) += kvm/
|
obj-$(CONFIG_KVM) += kvm/
|
||||||
obj-$(CONFIG_BUILTIN_DTB) += boot/dts/
|
|
||||||
|
|
||||||
# for cleaning
|
# for cleaning
|
||||||
subdir- += boot
|
subdir- += boot
|
||||||
|
|
|
@ -396,6 +396,7 @@ endchoice
|
||||||
config BUILTIN_DTB
|
config BUILTIN_DTB
|
||||||
bool "Enable built-in dtb in kernel"
|
bool "Enable built-in dtb in kernel"
|
||||||
depends on OF
|
depends on OF
|
||||||
|
select GENERIC_BUILTIN_DTB
|
||||||
help
|
help
|
||||||
Some existing systems do not provide a canonical device tree to
|
Some existing systems do not provide a canonical device tree to
|
||||||
the kernel at boot time. Let's provide a device tree table in the
|
the kernel at boot time. Let's provide a device tree table in the
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
dtb-y = loongson-2k0500-ref.dtb loongson-2k1000-ref.dtb loongson-2k2000-ref.dtb
|
dtb-y = loongson-2k0500-ref.dtb loongson-2k1000-ref.dtb loongson-2k2000-ref.dtb
|
||||||
|
|
||||||
obj-$(CONFIG_BUILTIN_DTB) += $(addsuffix .dtb.o, $(CONFIG_BUILTIN_DTB_NAME))
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user