Skip to content

Commit 6853acd

Browse files
masahir0yctmarinas
authored andcommitted
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]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
1 parent 19272b3 commit 6853acd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm64/kernel/pi/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ obj-y := idreg-override.pi.o \
4141
obj-$(CONFIG_RELOCATABLE) += relocate.pi.o
4242
obj-$(CONFIG_RANDOMIZE_BASE) += kaslr_early.pi.o
4343
obj-$(CONFIG_UNWIND_PATCH_PAC_INTO_SCS) += patch-scs.pi.o
44-
extra-y := $(patsubst %.pi.o,%.o,$(obj-y))
44+
targets := $(patsubst %.pi.o,%.o,$(obj-y))

0 commit comments

Comments
 (0)