summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fuchs <fuchsfl@gmail.com>2026-07-11 02:01:46 +0200
committerJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>2026-10-06 09:53:49 +0200
commitfec3356dce4541e49dbdd67dafbcfab040bf20fe (patch)
treecc6b55423c8483faf4b827362784c441ae6c6c40
parentbe5a19d95030ffa7a37d2981d0ab4eac8a6c89fa (diff)
downloadlinux-next-fec3356dce4541e49dbdd67dafbcfab040bf20fe.tar.gz
linux-next-fec3356dce4541e49dbdd67dafbcfab040bf20fe.zip
sh: Fix built-in DTB build with generic rule
Commit 21bcc49974c2 ("sh: Migrate to the generic rule for built-in DTB") selected GENERIC_BUILTIN_DTB and renamed the Kconfig symbols, but left arch/sh/boot/dts/Makefile using the old obj-y form. So convert them as well, to fix the build error when using CONFIG_BUILTIN_DTB. Fixes: 21bcc49974c2 ("sh: Migrate to the generic rule for built-in DTB") Signed-off-by: Florian Fuchs <fuchsfl@gmail.com> Reviewed-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
-rw-r--r--arch/sh/boot/dts/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/boot/dts/Makefile b/arch/sh/boot/dts/Makefile
index d109978a5eb9..16e281b859ae 100644
--- a/arch/sh/boot/dts/Makefile
+++ b/arch/sh/boot/dts/Makefile
@@ -1,2 +1,2 @@
# SPDX-License-Identifier: GPL-2.0-only
-obj-$(CONFIG_BUILTIN_DTB) += $(addsuffix .dtb.o, $(CONFIG_BUILTIN_DTB_NAME))
+dtb-y += $(addsuffix .dtb, $(CONFIG_BUILTIN_DTB_NAME))