blob: 98d7a801ac84b8ec259d66fcde80fd3f11d4c72e [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001#
2# musl specific configuration
3#
4
5LIBCEXTENSION = "-musl"
6
Patrick Williamsc124f4f2015-09-15 14:41:29 -05007LIBCOVERRIDE = ":libc-musl"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05008
9PREFERRED_PROVIDER_virtual/libc ?= "musl"
10PREFERRED_PROVIDER_virtual/libiconv ?= "musl"
11PREFERRED_PROVIDER_virtual/libintl ?= "musl"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080012PREFERRED_PROVIDER_virtual/crypt ?= "musl"
Patrick Williams03907ee2022-05-01 06:28:52 -050013PREFERRED_PROVIDER_virtual/libc-locale ?= "musl-locales"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050014PREFERRED_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
Patrick Williamsc124f4f2015-09-15 14:41:29 -050023LIBC_DEPENDENCIES = "\
24 musl \
25 musl-dbg \
26 musl-dev \
Brad Bishop316dfdd2018-06-25 12:45:53 -040027 musl-utils \
28 musl-utils-iconv \
29 bsd-headers-dev \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050030 "