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