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)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 3 Oct 2022 15:40:26 +0000 (17:40 +0200)
commit65bd63206900c0660ac5eb9465a4ffdacb9e51ec
tree562a2e4a0304eef083ad19805c41334f6e84ee58
parentb0622d1221281babcb4fa6901becff0ee9bfe6ab
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