mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 06:31:18 +02:00
The gcc-config file name could be different from the gcc atom that creates it. Changed the logic to first find out the binary path of gcc and then to query portage to see what package owns that path. BUG=none TEST=cros_sdk --bootstrap --replace cros_sdk -- ./setup_board --board=x86-zgb --nousepkg Change-Id: I3ccfa9948aaba6ba28107f150523c8a5d7cf1260 Reviewed-on: https://gerrit.chromium.org/gerrit/15556 Reviewed-by: David James <davidjames@chromium.org> Reviewed-by: Zdenek Behan <zbehan@chromium.org> Tested-by: asharif <asharif@chromium.org> Reviewed-by: Mike Frysinger <vapier@chromium.org> Commit-Ready: asharif <asharif@chromium.org>