Re: [PATCH v2 1/1] sandbox: allow cross-compiling sandbox

2021-03-15 Thread Simon Glass
HI Heinrich, On Thu, 11 Feb 2021 at 10:34, Simon Glass wrote: > > On Wed, 10 Feb 2021 at 10:59, Heinrich Schuchardt wrote: > > > > UEFI test files like helloworld.efi require an architecture specific > > PE-COFF header. > > > > Currently this does not work for cross compiling. If $CROSS_COMPILE

Re: [PATCH v2 1/1] sandbox: allow cross-compiling sandbox

2021-03-15 Thread Simon Glass
HI Heinrich, On Thu, 11 Feb 2021 at 10:34, Simon Glass wrote: > > On Wed, 10 Feb 2021 at 10:59, Heinrich Schuchardt wrote: > > > > UEFI test files like helloworld.efi require an architecture specific > > PE-COFF header. > > > > Currently this does not work for cross compiling. If $CROSS_COMPILE

Re: [PATCH v2 1/1] sandbox: allow cross-compiling sandbox

2021-02-10 Thread Simon Glass
On Wed, 10 Feb 2021 at 10:59, Heinrich Schuchardt wrote: > > 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

Re: [PATCH v2 1/1] sandbox: allow cross-compiling sandbox

2021-02-10 Thread Sean Anderson
On 2/10/21 1:20 PM, Sean Anderson wrote: On 2/10/21 12:54 PM, Heinrich Schuchardt wrote: > 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

Re: [PATCH v2 1/1] sandbox: allow cross-compiling sandbox

2021-02-10 Thread Sean Anderson
On 2/10/21 12:54 PM, Heinrich Schuchardt wrote: > 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 > choo

[PATCH v2 1/1] sandbox: allow cross-compiling sandbox

2021-02-10 Thread Heinrich Schuchardt
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