Skip to content

efi/libstub: Fix library dependencies

Ard Biesheuvel linux-efi loongarch 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3efi/libstub: loongarch: Provide 64-bit integer shift helpers for 32-bitdrivers/firmware/efi/libstub/Makefile+4 -30 replies
2/3efi/zboot: Eliminate unused code from the zboot executabledrivers/firmware/efi/libstub/Makefile drivers/firmware/efi/libstub/Makefile.zboot drivers/firmware/efi/libstub/zboot.lds+6 -30 replies
3/3efi/libstub: Provide library helpers only where neededdrivers/firmware/efi/libstub/Makefile+6 -52 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] efi/libstub: Fix library dependencies

From: Ard Biesheuvel <[email protected]>

Dmitry reports that 32-bit LoongArch builds with EFI_ZBOOT disabled fail to link, due to missing helpers for 64-bit integer shifts.

Fix this, and while at it, tweak the build so some of these dependencies can be dropped for the zboot build.

Cc Dmitry Antipov <[email protected]>
Cc Huacai Chen <[email protected]>
Cc WANG Xuerui <[email protected]>

Ard Biesheuvel (3):
efi/libstub: loongarch: Provide 64-bit integer shift helpers for

    32-bit

efi/zboot: Eliminate unused code from the zboot executable efi/libstub: Provide library helpers only where needed

 drivers/firmware/efi/libstub/Makefile       | 18 +++++++++++-------
 drivers/firmware/efi/libstub/Makefile.zboot |  3 ++-
 drivers/firmware/efi/libstub/zboot.lds      |  4 ++--
 3 files changed, 15 insertions(+), 10 deletions(-)
Signature · 1 line
2.56.1.839.g22a8290db9-goog