summaryrefslogtreecommitdiff
path: root/poky/meta/conf/distro/include/tclibc-musl.inc
diff options
context:
space:
mode:
Diffstat (limited to 'poky/meta/conf/distro/include/tclibc-musl.inc')
-rw-r--r--poky/meta/conf/distro/include/tclibc-musl.inc32
1 files changed, 32 insertions, 0 deletions
diff --git a/poky/meta/conf/distro/include/tclibc-musl.inc b/poky/meta/conf/distro/include/tclibc-musl.inc
new file mode 100644
index 000000000..54e1acf1d
--- /dev/null
+++ b/poky/meta/conf/distro/include/tclibc-musl.inc
@@ -0,0 +1,32 @@
+#
+# musl specific configuration
+#
+
+LIBCEXTENSION = "-musl"
+
+# Add musl libc overrides to the overrides.
+LIBCOVERRIDE = ":libc-musl"
+OVERRIDES .= "${LIBCOVERRIDE}"
+
+PREFERRED_PROVIDER_virtual/libc ?= "musl"
+PREFERRED_PROVIDER_virtual/libiconv ?= "musl"
+PREFERRED_PROVIDER_virtual/libintl ?= "musl"
+PREFERRED_PROVIDER_virtual/nativesdk-libintl ?= "nativesdk-glibc"
+PREFERRED_PROVIDER_virtual/nativesdk-libiconv ?= "nativesdk-glibc"
+
+DISTRO_FEATURES_BACKFILL_CONSIDERED += "ldconfig"
+
+#USE_NLS ?= "no"
+
+CXXFLAGS += "-fvisibility-inlines-hidden"
+
+IMAGE_LINGUAS = ""
+
+LIBC_DEPENDENCIES = "\
+ musl \
+ musl-dbg \
+ musl-dev \
+ musl-utils \
+ musl-utils-iconv \
+ bsd-headers-dev \
+ "