scripts: ext-toolchain: add support for musl
authorChristian Marangi <ansuelsmth@gmail.com>
Sun, 17 Jul 2022 15:56:59 +0000 (17:56 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 3 Oct 2022 15:40:26 +0000 (17:40 +0200)
commit4ad6925a9e6685ecb1931cd76431d1339f47e8c2
treec8190ce8a8b770c13caa23fc145f879f979a1c83
parent65bd63206900c0660ac5eb9465a4ffdacb9e51ec
scripts: ext-toolchain: add support for musl

Openwrt now supports only glibc and musl. Add support for musl and
rework the libc check to handle the new config flags and correctly
compile package basend on that.

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