summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/gcc
diff options
context:
space:
mode:
authorJuro Bystricky <juro.bystricky@intel.com>2015-08-22 09:55:18 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-30 12:34:11 +0100
commit53153b9fd1ba56ca3df19d895d365054a5ecd50f (patch)
tree5b98e43e7f816385dc9d0d221126db4c4df38e42 /meta/recipes-devtools/gcc
parent92eb54c6b7424770f96a8e14e792cbe5124968c3 (diff)
downloadopenembedded-core-53153b9fd1ba56ca3df19d895d365054a5ecd50f.tar.gz
openembedded-core-53153b9fd1ba56ca3df19d895d365054a5ecd50f.tar.bz2
openembedded-core-53153b9fd1ba56ca3df19d895d365054a5ecd50f.zip
libgcc-common.inc: overrides for libc-baremetal
Added TCLIBC="baremetal" specific overrides. (From OE-Core rev: 044f989b34e46f919e6b28860d7a1b396b2c3808) 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/recipes-devtools/gcc')
-rw-r--r--meta/recipes-devtools/gcc/libgcc-common.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/libgcc-common.inc b/meta/recipes-devtools/gcc/libgcc-common.inc
index 22da03b4c0..b09ea657e7 100644
--- a/meta/recipes-devtools/gcc/libgcc-common.inc
+++ b/meta/recipes-devtools/gcc/libgcc-common.inc
@@ -45,6 +45,12 @@ do_install () {
rm -rf ${D}${libdir}/${TARGET_SYS}/${BINV}/include
}
+do_install_append_libc-baremetal () {
+ rmdir ${D}${base_libdir}
+}
+
+RDEPENDS_${PN}-dev_libc-baremetal = ""
+
BBCLASSEXTEND = "nativesdk"
addtask multilib_install after do_install before do_package do_populate_sysroot