diff options
author | Juro Bystricky <juro.bystricky@intel.com> | 2015-08-22 09:55:15 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-08-30 12:35:50 +0100 |
commit | 2dd0c1d4e1ac1e908cca8586d1dcc3f9a93bbd8d (patch) | |
tree | eac18a8fdcecc6822b7fad423f6c97e7c55f616b /meta/conf/distro | |
parent | c2591e10d5b7a09e5d3d42befafa9ed7a638c918 (diff) | |
download | poky-2dd0c1d4e1ac1e908cca8586d1dcc3f9a93bbd8d.tar.gz |
tclibc-baremetal.inc: baremetal specific distro policy file
Support for TCLIBC="baremetal".
Allows building "baremetal" toolchains.
(From OE-Core rev: f1972eea0145ca54f0c087c0f29fd2e54d6b95e8)
(From OE-Core rev: cb010e306a6a856c589db5f41fdcaea4e5035d93)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/distro')
-rw-r--r-- | meta/conf/distro/include/tclibc-baremetal.inc | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/conf/distro/include/tclibc-baremetal.inc b/meta/conf/distro/include/tclibc-baremetal.inc new file mode 100644 index 0000000000..a8ce6d3ac2 --- /dev/null +++ b/meta/conf/distro/include/tclibc-baremetal.inc | |||
@@ -0,0 +1,32 @@ | |||
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" | ||