summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2014-05-29 00:01:02 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-05-30 16:31:21 +0100
commit797ef28c55a30f1b465ce512fffa4e06c7f1c658 (patch)
tree708c674d47d62b3a8cdd68e723a890af21ac9310
parent9cd77aed67373e33dc69158ab02b94d7045c1119 (diff)
downloadopenembedded-core-797ef28c55a30f1b465ce512fffa4e06c7f1c658.tar.gz
openembedded-core-797ef28c55a30f1b465ce512fffa4e06c7f1c658.tar.bz2
openembedded-core-797ef28c55a30f1b465ce512fffa4e06c7f1c658.zip
tclibc-musl.inc: Add musl specific distro policy file
With this we could use TCLIBC=musl to switch to images based on musl Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/conf/distro/include/tclibc-musl.inc27
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/conf/distro/include/tclibc-musl.inc b/meta/conf/distro/include/tclibc-musl.inc
new file mode 100644
index 0000000000..d375d8d31d
--- /dev/null
+++ b/meta/conf/distro/include/tclibc-musl.inc
@@ -0,0 +1,27 @@
+#
+# musl specific configuration
+#
+
+LIBCEXTENSION = "-musl"
+
+# Add uclibc overrides to the overrides.
+LIBCOVERRIDE = ":libc-musl"
+OVERRIDES .= "${LIBCOVERRIDE}"
+
+PREFERRED_PROVIDER_virtual/libc ?= "musl"
+PREFERRED_PROVIDER_virtual/libiconv ?= "musl"
+PREFERRED_PROVIDER_virtual/libintl ?= "gettext"
+PREFERRED_PROVIDER_virtual/nativesdk-libintl ?= "nativesdk-eglibc"
+PREFERRED_PROVIDER_virtual/nativesdk-libiconv ?= "nativesdk-eglibc"
+
+USE_NLS ?= "no"
+
+CXXFLAGS += "-fvisibility-inlines-hidden"
+
+IMAGE_LINGUAS = ""
+
+LIBC_DEPENDENCIES = "\
+ musl \
+ musl-dbg \
+ musl-dev \
+ "