blob: 54e1acf1df4f59502955f8a9cd050818cac6ef01 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001#
2# musl specific configuration
3#
4
5LIBCEXTENSION = "-musl"
6
Brad Bishop6e60e8b2018-02-01 10:27:11 -05007# Add musl libc overrides to the overrides.
Patrick Williamsc124f4f2015-09-15 14:41:29 -05008LIBCOVERRIDE = ":libc-musl"
9OVERRIDES .= "${LIBCOVERRIDE}"
10
11PREFERRED_PROVIDER_virtual/libc ?= "musl"
12PREFERRED_PROVIDER_virtual/libiconv ?= "musl"
13PREFERRED_PROVIDER_virtual/libintl ?= "musl"
14PREFERRED_PROVIDER_virtual/nativesdk-libintl ?= "nativesdk-glibc"
15PREFERRED_PROVIDER_virtual/nativesdk-libiconv ?= "nativesdk-glibc"
16
Brad Bishopd7bf8c12018-02-25 22:55:05 -050017DISTRO_FEATURES_BACKFILL_CONSIDERED += "ldconfig"
18
Patrick Williamsc124f4f2015-09-15 14:41:29 -050019#USE_NLS ?= "no"
20
21CXXFLAGS += "-fvisibility-inlines-hidden"
22
23IMAGE_LINGUAS = ""
24
25LIBC_DEPENDENCIES = "\
26 musl \
27 musl-dbg \
28 musl-dev \
Brad Bishop316dfdd2018-06-25 12:45:53 -040029 musl-utils \
30 musl-utils-iconv \
31 bsd-headers-dev \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050032 "