summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc
diff options
context:
space:
mode:
authorCosmin Paraschiv <cosmin.paraschiv@freescale.com>2014-03-07 15:39:04 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-21 12:05:53 +0000
commitea8640ee0d99f183b32cd2ca42e4e7ec45be8a19 (patch)
treef109f08e1190907a3311d4c3392fb3118f57c4b1 /meta/recipes-devtools/gcc
parent38d669f4883b9e848379c58c56d27e3011c9614b (diff)
downloadpoky-ea8640ee0d99f183b32cd2ca42e4e7ec45be8a19.tar.gz
gcc-runtime: Build libatomic
GCC 4.8 includes a new runtime library, libatomic, which supports atomic operations not supported by hardware or the OS. Build it, so other packages can link against it, if needed. (From OE-Core rev: a4dd6dfccee0be50d3addce3dd1bf903e051ad5a) Signed-off-by: Cosmin Paraschiv <cosmin.paraschiv@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-runtime.inc12
1 files changed, 11 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc
index d3b11a759f..f8c1109f41 100644
--- a/meta/recipes-devtools/gcc/gcc-runtime.inc
+++ b/meta/recipes-devtools/gcc/gcc-runtime.inc
@@ -12,7 +12,7 @@ ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_INCDIR}"
12EXTRA_OECONF += "--disable-libunwind-exceptions" 12EXTRA_OECONF += "--disable-libunwind-exceptions"
13EXTRA_OECONF_append_linuxstdbase = " --enable-clocale=gnu" 13EXTRA_OECONF_append_linuxstdbase = " --enable-clocale=gnu"
14 14
15RUNTIMETARGET = "libssp libstdc++-v3 libgomp" 15RUNTIMETARGET = "libssp libstdc++-v3 libgomp libatomic"
16# ? 16# ?
17# libiberty 17# libiberty
18# libmudflap 18# libmudflap
@@ -87,6 +87,9 @@ PACKAGES = "\
87 libgomp \ 87 libgomp \
88 libgomp-dev \ 88 libgomp-dev \
89 libgomp-staticdev \ 89 libgomp-staticdev \
90 libatomic \
91 libatomic-dev \
92 libatomic-staticdev \
90" 93"
91# The base package doesn't exist, so we clear the recommends. 94# The base package doesn't exist, so we clear the recommends.
92RRECOMMENDS_${PN}-dbg = "" 95RRECOMMENDS_${PN}-dbg = ""
@@ -161,6 +164,13 @@ FILES_libgomp-staticdev = "\
161 ${libdir}/libgomp*.a \ 164 ${libdir}/libgomp*.a \
162 " 165 "
163 166
167FILES_libatomic = "${libdir}/libatomic.so.*"
168FILES_libatomic-dev = " \
169 ${libdir}/libatomic.so \
170 ${libdir}/libatomic.la"
171FILES_libatomic-staticdev = " \
172 ${libdir}/libatomic.a"
173
164do_package_write_ipk[depends] += "virtual/${MLPREFIX}libc:do_packagedata" 174do_package_write_ipk[depends] += "virtual/${MLPREFIX}libc:do_packagedata"
165do_package_write_deb[depends] += "virtual/${MLPREFIX}libc:do_packagedata" 175do_package_write_deb[depends] += "virtual/${MLPREFIX}libc:do_packagedata"
166do_package_write_rpm[depends] += "virtual/${MLPREFIX}libc:do_packagedata" 176do_package_write_rpm[depends] += "virtual/${MLPREFIX}libc:do_packagedata"