diff options
author | Cosmin Paraschiv <cosmin.paraschiv@freescale.com> | 2014-03-07 15:39:04 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-21 12:05:53 +0000 |
commit | ea8640ee0d99f183b32cd2ca42e4e7ec45be8a19 (patch) | |
tree | f109f08e1190907a3311d4c3392fb3118f57c4b1 /meta/recipes-devtools/gcc/gcc-runtime.inc | |
parent | 38d669f4883b9e848379c58c56d27e3011c9614b (diff) | |
download | poky-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/gcc-runtime.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-runtime.inc | 12 |
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}" | |||
12 | EXTRA_OECONF += "--disable-libunwind-exceptions" | 12 | EXTRA_OECONF += "--disable-libunwind-exceptions" |
13 | EXTRA_OECONF_append_linuxstdbase = " --enable-clocale=gnu" | 13 | EXTRA_OECONF_append_linuxstdbase = " --enable-clocale=gnu" |
14 | 14 | ||
15 | RUNTIMETARGET = "libssp libstdc++-v3 libgomp" | 15 | RUNTIMETARGET = "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. |
92 | RRECOMMENDS_${PN}-dbg = "" | 95 | RRECOMMENDS_${PN}-dbg = "" |
@@ -161,6 +164,13 @@ FILES_libgomp-staticdev = "\ | |||
161 | ${libdir}/libgomp*.a \ | 164 | ${libdir}/libgomp*.a \ |
162 | " | 165 | " |
163 | 166 | ||
167 | FILES_libatomic = "${libdir}/libatomic.so.*" | ||
168 | FILES_libatomic-dev = " \ | ||
169 | ${libdir}/libatomic.so \ | ||
170 | ${libdir}/libatomic.la" | ||
171 | FILES_libatomic-staticdev = " \ | ||
172 | ${libdir}/libatomic.a" | ||
173 | |||
164 | do_package_write_ipk[depends] += "virtual/${MLPREFIX}libc:do_packagedata" | 174 | do_package_write_ipk[depends] += "virtual/${MLPREFIX}libc:do_packagedata" |
165 | do_package_write_deb[depends] += "virtual/${MLPREFIX}libc:do_packagedata" | 175 | do_package_write_deb[depends] += "virtual/${MLPREFIX}libc:do_packagedata" |
166 | do_package_write_rpm[depends] += "virtual/${MLPREFIX}libc:do_packagedata" | 176 | do_package_write_rpm[depends] += "virtual/${MLPREFIX}libc:do_packagedata" |