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:34:10 +0100 |
commit | cb010e306a6a856c589db5f41fdcaea4e5035d93 (patch) | |
tree | c7fa2a0777e4638082bc5ca1f8540c577b1bf630 | |
parent | 47212cb032b67dc59277f6c38e9aeda5a9b628a4 (diff) | |
download | openembedded-core-cb010e306a6a856c589db5f41fdcaea4e5035d93.tar.gz openembedded-core-cb010e306a6a856c589db5f41fdcaea4e5035d93.tar.bz2 openembedded-core-cb010e306a6a856c589db5f41fdcaea4e5035d93.zip |
tclibc-baremetal.inc: baremetal specific distro policy file
Support for TCLIBC="baremetal".
Allows building "baremetal" toolchains.
(From OE-Core rev: f1972eea0145ca54f0c087c0f29fd2e54d6b95e8)
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>
-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 @@ +# +# baremetal configuration +# + +LIBCEXTENSION = "" + +# Add baremetal libc overrides to the overrides. +LIBCOVERRIDE = ":libc-baremetal" +OVERRIDES .= "${LIBCOVERRIDE}" + +ASSUME_PROVIDED += "virtual/libc virtual/libiconv" + +PREFERRED_PROVIDER_virtual/libc ?= "musl" +PREFERRED_PROVIDER_virtual/libiconv ?= "musl" +PREFERRED_PROVIDER_virtual/libintl ?= "gettext" +PREFERRED_PROVIDER_virtual/nativesdk-libintl ?= "nativesdk-glibc" +PREFERRED_PROVIDER_virtual/nativesdk-libiconv ?= "nativesdk-glibc" + +USE_NLS ?= "no" +IMAGE_LINGUAS = "" +LIBC_DEPENDENCIES = "" + +EXTRA_OECONF_pn-gcc-cross-${TARGET_ARCH}_append = " --without-headers" +DEPENDS_remove_pn-meta-toolchain = "virtual/libc virtual/${TARGET_PREFIX}compilerlibs" + +TARGET_OS = "elf" +TARGET_OS_arm = "eabi" + +TOOLCHAIN_HOST_TASK ?= "packagegroup-cross-canadian-${MACHINE}" +TOOLCHAIN_HOST_TASK_ATTEMPTONLY ?= "" +TOOLCHAIN_TARGET_TASK ?= "libgcc-dev" +TOOLCHAIN_NEED_CONFIGSITE_CACHE_remove = "virtual/${MLPREFIX}libc zlib ncurses" |