diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2024-11-10 02:34:30 +0100 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2024-11-27 01:38:27 +0100 |
commit | 214c0eea43b2ea66bcd6467ea57e47ce8874191b (patch) | |
tree | 070c0ea66ac32d63a25e4e861b6db2465371179a /arch/arm64/Makefile | |
parent | kbuild: replace two $(abs_objtree) with $(CURDIR) in top Makefile (diff) | |
download | linux-214c0eea43b2ea66bcd6467ea57e47ce8874191b.tar.xz linux-214c0eea43b2ea66bcd6467ea57e47ce8874191b.zip |
kbuild: add $(objtree)/ prefix to some in-kernel build artifacts
$(objtree) refers to the top of the output directory of kernel builds.
This commit adds the explicit $(objtree)/ prefix to build artifacts
needed for building external modules.
This change has no immediate impact, as the top-level Makefile
currently defines:
objtree := .
This commit prepares for supporting the building of external modules
in a different directory.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
Diffstat (limited to 'arch/arm64/Makefile')
-rw-r--r-- | arch/arm64/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile index 9efd3f37c2fd..358c68565bfd 100644 --- a/arch/arm64/Makefile +++ b/arch/arm64/Makefile @@ -71,7 +71,7 @@ stack_protector_prepare: prepare0 -mstack-protector-guard-reg=sp_el0 \ -mstack-protector-guard-offset=$(shell \ awk '{if ($$2 == "TSK_STACK_CANARY") print $$3;}' \ - include/generated/asm-offsets.h)) + $(objtree)/include/generated/asm-offsets.h)) endif ifeq ($(CONFIG_ARM64_BTI_KERNEL),y) |