setup_board: add workaround for binutils issue

Add a workaround to be sure we're using the correct binutils when SDK
sharing.
This commit is contained in:
Andrew Jeddeloh 2019-08-23 20:51:02 +00:00
parent 471dd4c196
commit 3d60305f24

View File

@ -339,6 +339,11 @@ if [ $FLAGS_default -eq $FLAGS_TRUE ] ; then
echo $BOARD_VARIANT > "$GCLIENT_ROOT/src/scripts/.default_board"
fi
# workaround for https://wiki.gentoo.org/wiki/Binutils_2.32_upgrade_notes/elfutils_0.175:_unable_to_initialize_decompress_status_for_section_.debug_info
# can be dropped once all channels use 2.32 (i.e 2229.x.y+)
sudo binutils-config 'x86_64-cros-linux-gnu-2.32'
sudo binutils-config 'x86_64-pc-linux-gnu-2.32'
command_completed
info "The SYSROOT is: ${BOARD_ROOT}"