arm64: pi: use 'targets' instead of extra-y in Makefile
PATCH 1/1 arm64: pi: use 'targets' instead of extra-y in Makefile
%.pi.o files are built as prerequisites of other objects. There is no need to use extra-y, which is planned for deprecation.
Signed-off-by Masahiro Yamada <[email protected]>
---
arch/arm64/kernel/pi/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/kernel/pi/Makefile +1 -1
@@ -41,4 +41,4 @@ obj-y := idreg-override.pi.o \ obj-$(CONFIG_RELOCATABLE) += relocate.pi.o obj-$(CONFIG_RANDOMIZE_BASE) += kaslr_early.pi.o obj-$(CONFIG_UNWIND_PATCH_PAC_INTO_SCS) += patch-scs.pi.o -extra-y := $(patsubst %.pi.o,%.o,$(obj-y)) +targets := $(patsubst %.pi.o,%.o,$(obj-y))
Signature · 1 line
2.43.0
Quoted 4 lines · Masahiro Yamada
%.pi.o files are built as prerequisites of other objects. There is no need to use extra-y, which is planned for deprecation.
Applied to arm64 (for-next/misc), thanks!
[1/1] arm64: pi: use 'targets' instead of extra-y in Makefile
https://git.kernel.org/arm64/c/6853acd39998
Signature · 1 line
Catalin