diff options
author | Khem Raj <raj.khem@gmail.com> | 2014-05-29 00:01:02 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-06-01 14:29:29 +0100 |
commit | e06c0a2d53f45db058f405ab36cca2973f9b2a79 (patch) | |
tree | f3c158a9c80353126019ab95d11a4e99d0d94b3c /meta/conf/distro | |
parent | 56d4f91fe24a3dfa791b5c62a4103a182f500495 (diff) | |
download | poky-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.inc | 27 |
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 | |||
5 | LIBCEXTENSION = "-musl" | ||
6 | |||
7 | # Add uclibc overrides to the overrides. | ||
8 | LIBCOVERRIDE = ":libc-musl" | ||
9 | OVERRIDES .= "${LIBCOVERRIDE}" | ||
10 | |||
11 | PREFERRED_PROVIDER_virtual/libc ?= "musl" | ||
12 | PREFERRED_PROVIDER_virtual/libiconv ?= "musl" | ||
13 | PREFERRED_PROVIDER_virtual/libintl ?= "gettext" | ||
14 | PREFERRED_PROVIDER_virtual/nativesdk-libintl ?= "nativesdk-eglibc" | ||
15 | PREFERRED_PROVIDER_virtual/nativesdk-libiconv ?= "nativesdk-eglibc" | ||
16 | |||
17 | USE_NLS ?= "no" | ||
18 | |||
19 | CXXFLAGS += "-fvisibility-inlines-hidden" | ||
20 | |||
21 | IMAGE_LINGUAS = "" | ||
22 | |||
23 | LIBC_DEPENDENCIES = "\ | ||
24 | musl \ | ||
25 | musl-dbg \ | ||
26 | musl-dev \ | ||
27 | " | ||