summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2024-02-17 14:55:04 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2024-02-23 21:07:22 +0900
commit223390b1c4d266c3b684b99d0a1980c49ebccf0d (patch)
tree4fa649d514ba45ebbfaf5130e9697d0d1a83cbd1 /scripts
parentbf48d9b756b91e3c656511fa8b63eaba1f50dbd0 (diff)
downloadlinux-stable-223390b1c4d266c3b684b99d0a1980c49ebccf0d.tar.gz
linux-stable-223390b1c4d266c3b684b99d0a1980c49ebccf0d.tar.bz2
linux-stable-223390b1c4d266c3b684b99d0a1980c49ebccf0d.zip
kbuild: change DTC_FLAGS_<basetarget>.o to take the path relative to $(obj)
For the same rationale as commit 54b8ae66ae1a ("kbuild: change *FLAGS_<basetarget>.o to take the path relative to $(obj)"). Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.lib2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index 328c0d77ed48..56f7fe2b476d 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -368,7 +368,7 @@ DTC_FLAGS += -Wnode_name_chars_strict \
-Wunique_unit_address
endif
-DTC_FLAGS += $(DTC_FLAGS_$(basetarget))
+DTC_FLAGS += $(DTC_FLAGS_$(target-stem))
# Set -@ if the target is a base DTB that overlay is applied onto
DTC_FLAGS += $(if $(filter $(patsubst $(obj)/%,%,$@), $(base-dtb-y)), -@)