diff options
author | 2025-06-03 03:11:41 +0900 | |
---|---|---|
committer | 2025-06-06 05:42:49 +0900 | |
commit | 481d5c31e14347aef33ab715f79831873a60c6e2 (patch) | |
tree | 2065993d7be0e404edf11e4b32a851efed31083f /drivers | |
parent | module: make __mod_device_table__* symbols static (diff) | |
download | linux-rng-481d5c31e14347aef33ab715f79831873a60c6e2.tar.xz linux-rng-481d5c31e14347aef33ab715f79831873a60c6e2.zip |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/firmware/efi/libstub/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/efi/libstub/Makefile b/drivers/firmware/efi/libstub/Makefile index d23a1b9fed75..5ce9f2098b99 100644 --- a/drivers/firmware/efi/libstub/Makefile +++ b/drivers/firmware/efi/libstub/Makefile @@ -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 |