Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame^] | 1 | # |
| 2 | # baremetal configuration |
| 3 | # |
| 4 | |
| 5 | LIBCEXTENSION = "" |
| 6 | |
| 7 | # Add baremetal libc overrides to the overrides. |
| 8 | LIBCOVERRIDE = ":libc-baremetal" |
| 9 | OVERRIDES .= "${LIBCOVERRIDE}" |
| 10 | |
| 11 | ASSUME_PROVIDED += "virtual/libc virtual/libiconv" |
| 12 | |
| 13 | PREFERRED_PROVIDER_virtual/libc ?= "musl" |
| 14 | PREFERRED_PROVIDER_virtual/libiconv ?= "musl" |
| 15 | PREFERRED_PROVIDER_virtual/libintl ?= "gettext" |
| 16 | PREFERRED_PROVIDER_virtual/nativesdk-libintl ?= "nativesdk-glibc" |
| 17 | PREFERRED_PROVIDER_virtual/nativesdk-libiconv ?= "nativesdk-glibc" |
| 18 | |
| 19 | USE_NLS ?= "no" |
| 20 | IMAGE_LINGUAS = "" |
| 21 | LIBC_DEPENDENCIES = "" |
| 22 | |
| 23 | EXTRA_OECONF_pn-gcc-cross-${TARGET_ARCH}_append = " --without-headers" |
| 24 | DEPENDS_remove_pn-meta-toolchain = "virtual/libc virtual/${TARGET_PREFIX}compilerlibs" |
| 25 | |
| 26 | TARGET_OS = "elf" |
| 27 | TARGET_OS_arm = "eabi" |
| 28 | |
| 29 | TOOLCHAIN_HOST_TASK ?= "packagegroup-cross-canadian-${MACHINE}" |
| 30 | TOOLCHAIN_HOST_TASK_ATTEMPTONLY ?= "" |
| 31 | TOOLCHAIN_TARGET_TASK ?= "libgcc-dev" |
| 32 | TOOLCHAIN_NEED_CONFIGSITE_CACHE_remove = "virtual/${MLPREFIX}libc zlib ncurses" |