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, 24 Jul 2022 17:53:44 +0000 (19:53 +0200)
commit75311977f5ff64b491cb57ac713d75e0e410d786
tree627f191b156eec27fdf0e982150d6ef9c9501287
parentddeabc75ebe3151ff7da302cb1aae702b3ad7eba
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>
scripts/ext-toolchain.sh