Re: [PATCH 1/3] binman: Support cross-compiling test files to x86

2020-09-05 Thread Simon Glass
Hi Alper, On Sat, 5 Sep 2020 at 16:51, Alper Nebi Yasak wrote: > > On 05/09/2020 19:36, Simon Glass wrote: > > For me this fails on x86_64, complaining for example: > > > > Exception: Error 2 running 'make -C /tmp/binmant.d17vfu3j/elftest -f > > /scratch/sglass/cosarm/src/third_party/u-boot/files

Re: [PATCH 1/3] binman: Support cross-compiling test files to x86

2020-09-05 Thread Alper Nebi Yasak
On 05/09/2020 19:36, Simon Glass wrote: > For me this fails on x86_64, complaining for example: > > Exception: Error 2 running 'make -C /tmp/binmant.d17vfu3j/elftest -f > /scratch/sglass/cosarm/src/third_party/u-boot/files/tools/binman/test/Makefile > SRC=/scratch/sglass/cosarm/src/third_party/u-b

Re: [PATCH 1/3] binman: Support cross-compiling test files to x86

2020-09-05 Thread Simon Glass
Hi Alper, On Sat, 5 Sep 2020 at 08:44, Alper Nebi Yasak wrote: > > These test files are currently "intended for use on x86 hosts", but most > of the tests using them can still pass when cross-compiled to x86 on an > arm64 host. > > This patch enables non-x86 hosts to run the tests by specifying a

[PATCH 1/3] binman: Support cross-compiling test files to x86

2020-09-05 Thread Alper Nebi Yasak
These test files are currently "intended for use on x86 hosts", but most of the tests using them can still pass when cross-compiled to x86 on an arm64 host. This patch enables non-x86 hosts to run the tests by specifying a cross-compiler via CROSS_COMPILE. The list of variables it sets is taken fr