diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2020-02-10 17:02:41 +0100 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2020-02-23 21:57:15 +0100 |
commit | 0ed02bdaa7d8d93157a7055a23b03774c930f561 (patch) | |
tree | da8e8acfb3d3d2c1ca26cd918de2e21a9f1315d7 /net/Kconfig | |
parent | 1e45bf7372c48c78e1f7e538fd3e612946f6ad20 (diff) |
efi/libstub: Move efi_random_alloc() into separate source file
efi_random_alloc() is only used on arm64, but as it shares a source
file with efi_random_get_seed(), the latter will pull in the former
on other architectures as well.
Let's take advantage of the fact that libstub is a static library,
and so the linker will only incorporate objects that are needed to
satisfy dependencies in other objects. This means we can move the
random alloc code to a separate source file that gets built
unconditionally, but only used when needed.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'net/Kconfig')
0 files changed, 0 insertions, 0 deletions