scripts: ext-toolchain: add support for info.mk in probe_cc
authorChristian Marangi <ansuelsmth@gmail.com>
Sun, 17 Jul 2022 15:56:36 +0000 (17:56 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Sun, 4 Dec 2022 15:07:35 +0000 (16:07 +0100)
commit462c5653e18f0bd2c9ec66a2b154bf26d8f4aa1d
tree144d3db93818c29f4f0bd0971f72195bbdb3bb48
parent1f5b8a32e4a07b5ca55b0fce73ade5e026d4e584
scripts: ext-toolchain: add support for info.mk in probe_cc

Openwrt generate info.mk that contains the libc type. For probe_cc check
if the file exist and parse directly it for LIBC type.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit 75311977f5ff64b491cb57ac713d75e0e410d786)
scripts/ext-toolchain.sh