This commit is contained in:
NADAL Jean-Baptiste
2019-10-28 18:41:28 +01:00
parent 5998ed15ee
commit f877a98d9b
8 changed files with 34 additions and 14 deletions

View File

@@ -17,7 +17,8 @@ BASE=`$cross_compiler_path/bin/*-*-gcc --version | head -n 1 | cut -d ' ' -f 1 |
GCC_VERSION=`$cross_compiler_path/bin/*-*-gcc --version | head -n 1 | cut -d ' ' -f 4`
VERSION=`$cross_compiler_path/bin/*-*-gcc --version | head -n 1 | cut -d ' ' -f 3 | cut -d '-' -f 1`
LIBC=unknown
# uclibc is the default toolchain
LIBC=uclibc
cat configs/toolchain_defconfig | grep BR2_TOOLCHAIN_BUILDROOT_GLIBC
if test $? -eq 0; then LIBC=glibc; fi
cat configs/toolchain_defconfig | grep BR2_TOOLCHAIN_BUILDROOT_UCLIBC