mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-11 05:42:58 +00:00
1e4687aa47
Currently, binman always runs the compile tools like cc, objcopy, strip, etc. using their literal name. Instead, this patch makes it use the target-specific versions by default, derived from the tool-specific environment variables (CC, OBJCOPY, STRIP, etc.) or from the CROSS_COMPILE environment variable. For example, the u-boot-elf etype directly uses 'strip'. Trying to run the tests with 'CROSS_COMPILE=i686-linux-gnu- binman test' on an arm64 host results in the '097_elf_strip.dts' test to fail as the arm64 version of 'strip' can't understand the format of the x86 ELF file. This also adjusts some command.Output() calls that caused test errors or failures to use the target versions of the tools they call. After this, patch, an arm64 host can run all tests with no errors or failures using a correct CROSS_COMPILE value. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
||
---|---|---|
.. | ||
.gitignore | ||
dtb_platdata.py | ||
dtoc | ||
dtoc_test.dts | ||
dtoc_test_add_prop.dts | ||
dtoc_test_addr32.dts | ||
dtoc_test_addr32_64.dts | ||
dtoc_test_addr64.dts | ||
dtoc_test_addr64_32.dts | ||
dtoc_test_aliases.dts | ||
dtoc_test_bad_reg.dts | ||
dtoc_test_bad_reg2.dts | ||
dtoc_test_driver_alias.dts | ||
dtoc_test_empty.dts | ||
dtoc_test_invalid_driver.dts | ||
dtoc_test_phandle.dts | ||
dtoc_test_phandle_bad.dts | ||
dtoc_test_phandle_bad2.dts | ||
dtoc_test_phandle_cd_gpios.dts | ||
dtoc_test_phandle_reorder.dts | ||
dtoc_test_phandle_single.dts | ||
dtoc_test_scan_drivers.cxx | ||
dtoc_test_simple.dts | ||
fdt.py | ||
fdt_util.py | ||
main.py | ||
setup.py | ||
test_dtoc.py | ||
test_fdt | ||
test_fdt.py |