diff options
| author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2021-02-10 18:54:25 +0100 |
|---|---|---|
| committer | Simon Glass <sjg@chromium.org> | 2021-03-22 19:23:26 +1300 |
| commit | f7691a6d736bec7915c227ac14076f9993a27367 (patch) | |
| tree | a6217929ca189fe678428d5c98f9aefcf3fa152b /scripts | |
| parent | 0fb560d9a71e9bd3c36944dda9b6122df63f49a3 (diff) | |
sandbox: allow cross-compiling sandbox
UEFI test files like helloworld.efi require an architecture specific
PE-COFF header.
Currently this does not work for cross compiling. If $CROSS_COMPILE is set,
use the first part of the architecture triplet from the variable to
choose the PE-COFF header.
Now we can cross-compile the sandbox, e.g.
make sandbox_defconfig NO_SDL=1
CROSS_COMPILE=/opt/bin/aarch64-linux-gnu- NO_SDL=1 MK_ARCH=aarch64 make
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
