|
@@ -51,8 +51,12 @@ ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)
|
|
|
LIBC = uclibc
|
|
|
else ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y)
|
|
|
LIBC = musl
|
|
|
-else
|
|
|
+else ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),y)
|
|
|
LIBC = gnu
|
|
|
+else
|
|
|
+# This happens if there is a bug in Buildroot that allows an
|
|
|
+# architecture configuration that isn't supported by any library.
|
|
|
+$(error No C library enabled, this is not possible.)
|
|
|
endif
|
|
|
|
|
|
# The ABI suffix is a bit special on ARM, as it needs to be
|