summaryrefslogtreecommitdiffstats
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:35:52 +0100
commit443c59b74a0c406951352c45a4503fd55d9a3887 (patch)
tree5cc5baa67a8e4937172e64afee9977a99e203fe9 /meta/recipes-devtools/gcc
parent466684e61b0b973550025993610c32fb0f329829 (diff)
downloadpoky-443c59b74a0c406951352c45a4503fd55d9a3887.tar.gz
libgcc-common.inc: overrides for libc-baremetal
Added TCLIBC="baremetal" specific overrides. (From OE-Core rev: 044f989b34e46f919e6b28860d7a1b396b2c3808) (From OE-Core rev: 53153b9fd1ba56ca3df19d895d365054a5ecd50f) 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 () {
45 rm -rf ${D}${libdir}/${TARGET_SYS}/${BINV}/include 45 rm -rf ${D}${libdir}/${TARGET_SYS}/${BINV}/include
46} 46}
47 47
48do_install_append_libc-baremetal () {
49 rmdir ${D}${base_libdir}
50}
51
52RDEPENDS_${PN}-dev_libc-baremetal = ""
53
48BBCLASSEXTEND = "nativesdk" 54BBCLASSEXTEND = "nativesdk"
49 55
50addtask multilib_install after do_install before do_package do_populate_sysroot 56addtask multilib_install after do_install before do_package do_populate_sysroot