efi/libstub: use 'targets' instead of extra-y in Makefile
authorMasahiro Yamada <masahiroy@kernel.org>
Mon, 2 Jun 2025 18:11:41 +0000 (03:11 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Thu, 5 Jun 2025 20:42:49 +0000 (05:42 +0900)
These objects are built as prerequisites of %.stub.o files.
There is no need to use extra-y, which is planned for deprecation.

Acked-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
drivers/firmware/efi/libstub/Makefile

index d23a1b9fed75cca09983c957b8aabbbe2c853be0..5ce9f2098b994b7397b9be821b691e5c8586fc89 100644 (file)
@@ -102,7 +102,7 @@ lib-$(CONFIG_EFI_ZBOOT)             += zboot.o $(zboot-obj-y)
 
 lib-$(CONFIG_UNACCEPTED_MEMORY) += unaccepted_memory.o bitmap.o find.o
 
-extra-y                                := $(lib-y)
+targets                                := $(lib-y)
 lib-y                          := $(patsubst %.o,%.stub.o,$(lib-y))
 
 # Even when -mbranch-protection=none is set, Clang will generate a