Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | # |
| 2 | # musl specific configuration |
| 3 | # |
| 4 | |
| 5 | LIBCEXTENSION = "-musl" |
| 6 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 7 | # Add musl libc overrides to the overrides. |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 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 ?= "musl" |
| 14 | PREFERRED_PROVIDER_virtual/nativesdk-libintl ?= "nativesdk-glibc" |
| 15 | PREFERRED_PROVIDER_virtual/nativesdk-libiconv ?= "nativesdk-glibc" |
| 16 | |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 17 | DISTRO_FEATURES_BACKFILL_CONSIDERED += "ldconfig" |
| 18 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 19 | #USE_NLS ?= "no" |
| 20 | |
| 21 | CXXFLAGS += "-fvisibility-inlines-hidden" |
| 22 | |
| 23 | IMAGE_LINGUAS = "" |
| 24 | |
| 25 | LIBC_DEPENDENCIES = "\ |
| 26 | musl \ |
| 27 | musl-dbg \ |
| 28 | musl-dev \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 29 | musl-utils \ |
| 30 | musl-utils-iconv \ |
| 31 | bsd-headers-dev \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 32 | " |