summaryrefslogtreecommitdiffstats
path: root/meta/conf/distro
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-06-01 14:29:29 +0100
commite06c0a2d53f45db058f405ab36cca2973f9b2a79 (patch)
treef3c158a9c80353126019ab95d11a4e99d0d94b3c /meta/conf/distro
parent56d4f91fe24a3dfa791b5c62a4103a182f500495 (diff)
downloadpoky-e06c0a2d53f45db058f405ab36cca2973f9b2a79.tar.gz
tclibc-musl.inc: Add musl specific distro policy file
With this we could use TCLIBC=musl to switch to images based on musl (From OE-Core rev: 797ef28c55a30f1b465ce512fffa4e06c7f1c658) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/distro')
-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 @@
1#
2# musl specific configuration
3#
4
5LIBCEXTENSION = "-musl"
6
7# Add uclibc overrides to the overrides.
8LIBCOVERRIDE = ":libc-musl"
9OVERRIDES .= "${LIBCOVERRIDE}"
10
11PREFERRED_PROVIDER_virtual/libc ?= "musl"
12PREFERRED_PROVIDER_virtual/libiconv ?= "musl"
13PREFERRED_PROVIDER_virtual/libintl ?= "gettext"
14PREFERRED_PROVIDER_virtual/nativesdk-libintl ?= "nativesdk-eglibc"
15PREFERRED_PROVIDER_virtual/nativesdk-libiconv ?= "nativesdk-eglibc"
16
17USE_NLS ?= "no"
18
19CXXFLAGS += "-fvisibility-inlines-hidden"
20
21IMAGE_LINGUAS = ""
22
23LIBC_DEPENDENCIES = "\
24 musl \
25 musl-dbg \
26 musl-dev \
27 "