Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] gcc-runtime: Build libatomic
@ 2014-03-07 13:39 Cosmin Paraschiv
  2014-03-08  0:13 ` Khem Raj
  0 siblings, 1 reply; 5+ messages in thread
From: Cosmin Paraschiv @ 2014-03-07 13:39 UTC (permalink / raw)
  To: openembedded-core, Saul Wold

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.

Signed-off-by: Cosmin Paraschiv <cosmin.paraschiv@freescale.com>
---
 meta/recipes-devtools/gcc/gcc-runtime.inc |   12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc
index d3b11a7..f8c1109 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}"
 EXTRA_OECONF += "--disable-libunwind-exceptions"
 EXTRA_OECONF_append_linuxstdbase = " --enable-clocale=gnu"
 
-RUNTIMETARGET = "libssp libstdc++-v3 libgomp"
+RUNTIMETARGET = "libssp libstdc++-v3 libgomp libatomic"
 #  ?
 # libiberty
 # libmudflap
@@ -87,6 +87,9 @@ PACKAGES = "\
   libgomp \
   libgomp-dev \
   libgomp-staticdev \
+  libatomic \
+  libatomic-dev \
+  libatomic-staticdev \
 "
 # The base package doesn't exist, so we clear the recommends.
 RRECOMMENDS_${PN}-dbg = ""
@@ -161,6 +164,13 @@ FILES_libgomp-staticdev = "\
   ${libdir}/libgomp*.a \
   "
 
+FILES_libatomic = "${libdir}/libatomic.so.*"
+FILES_libatomic-dev = " \
+  ${libdir}/libatomic.so \
+  ${libdir}/libatomic.la"
+FILES_libatomic-staticdev = " \
+  ${libdir}/libatomic.a"
+
 do_package_write_ipk[depends] += "virtual/${MLPREFIX}libc:do_packagedata"
 do_package_write_deb[depends] += "virtual/${MLPREFIX}libc:do_packagedata"
 do_package_write_rpm[depends] += "virtual/${MLPREFIX}libc:do_packagedata"
-- 
1.7.9.5




^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-03-19  9:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-07 13:39 [PATCH] gcc-runtime: Build libatomic Cosmin Paraschiv
2014-03-08  0:13 ` Khem Raj
2014-03-08 11:45   ` Cosmin Paraschiv
2014-03-08 18:27     ` Khem Raj
2014-03-19  9:01       ` cosmin.paraschiv

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox