Skip to content
Commit b59f6971 authored by Alexander Graf's avatar Alexander Graf
Browse files

efi_loader: Use compiler constants for image loader



The EFI image loader tries to determine which target architecture we're
working with to only load PE binaries that match.

So far this has worked based on CONFIG defines, because the target CPU
was always indicated by a config define. With sandbox however, this is
not longer true as all sandbox targets only encompass a single CONFIG
option and so we need to use compiler defines to determine the CPU
architecture.

Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
parent c726913a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment