Skip to content

Commit 481d5c3

Browse files
committed
efi/libstub: use 'targets' instead of extra-y in Makefile
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>
1 parent 8c21c41 commit 481d5c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/firmware/efi/libstub/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ lib-$(CONFIG_EFI_ZBOOT) += zboot.o $(zboot-obj-y)
102102

103103
lib-$(CONFIG_UNACCEPTED_MEMORY) += unaccepted_memory.o bitmap.o find.o
104104

105-
extra-y := $(lib-y)
105+
targets := $(lib-y)
106106
lib-y := $(patsubst %.o,%.stub.o,$(lib-y))
107107

108108
# Even when -mbranch-protection=none is set, Clang will generate a

0 commit comments

Comments
 (0)