summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc
diff options
context:
space:
mode:
authorMatthew McClintock <msm@freescale.com>2012-07-10 16:12:29 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-21 10:16:40 (GMT)
commitffd554d2ff3324ba10c3eb66a3d7acdd4d6aa235 (patch)
treea19fb5d378d92f17cca1777d0261eb223704554e /meta/recipes-devtools/gcc
parent4899d07aa7721f1626379fe878c94640b06eb2e2 (diff)
downloadpoky-ffd554d2ff3324ba10c3eb66a3d7acdd4d6aa235.tar.gz
libgomp: add libgomp (openmp) library, and build for powerpc targets by default
(From OE-Core rev: d58668c6770f519199192c7e3817fbc7d6576af3) Signed-off-by: Matthew McClintock <msm@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-4.6.inc2
-rw-r--r--meta/recipes-devtools/gcc/gcc-configure-runtime.inc7
-rw-r--r--meta/recipes-devtools/gcc/gcc-package-runtime.inc12
3 files changed, 20 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.6.inc b/meta/recipes-devtools/gcc/gcc-4.6.inc
index c71312e..4c6fe28 100644
--- a/meta/recipes-devtools/gcc/gcc-4.6.inc
+++ b/meta/recipes-devtools/gcc/gcc-4.6.inc
@@ -1,6 +1,6 @@
1require gcc-common.inc 1require gcc-common.inc
2 2
3PR = "r27" 3PR = "r28"
4 4
5# Third digit in PV should be incremented after a minor release 5# Third digit in PV should be incremented after a minor release
6# happens from this branch on gcc e.g. currently its 4.6.0 6# happens from this branch on gcc e.g. currently its 4.6.0
diff --git a/meta/recipes-devtools/gcc/gcc-configure-runtime.inc b/meta/recipes-devtools/gcc/gcc-configure-runtime.inc
index 34bfaeb..c9e8dd6 100644
--- a/meta/recipes-devtools/gcc/gcc-configure-runtime.inc
+++ b/meta/recipes-devtools/gcc/gcc-configure-runtime.inc
@@ -9,6 +9,8 @@ EXTRA_OECONF_PATHS = " \
9 --with-build-sysroot=${STAGING_DIR_TARGET}" 9 --with-build-sysroot=${STAGING_DIR_TARGET}"
10 10
11RUNTIMETARGET = "libssp libstdc++-v3" 11RUNTIMETARGET = "libssp libstdc++-v3"
12RUNTIMETARGET_append_powerpc = " libgomp"
13RUNTIMETARGET_append_powerpc64 = " libgomp"
12# ? 14# ?
13# libiberty 15# libiberty
14# libmudflap 16# libmudflap
@@ -36,6 +38,11 @@ do_install () {
36 for d in ${RUNTIMETARGET}; do 38 for d in ${RUNTIMETARGET}; do
37 cd ${B}/$d/ 39 cd ${B}/$d/
38 oe_runmake 'DESTDIR=${D}' install 40 oe_runmake 'DESTDIR=${D}' install
41 if [ "$d" = "libgomp" ]; then
42 rm -rf ${D}${datadir}/info/libgomp.info ${D}${datadir}/info/dir
43 rmdir --ignore-fail-on-non-empty -p ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/finclude
44 rmdir --ignore-fail-on-non-empty -p ${D}${datadir}/info
45 fi
39 done 46 done
40 chown -R root:root ${D} 47 chown -R root:root ${D}
41} 48}
diff --git a/meta/recipes-devtools/gcc/gcc-package-runtime.inc b/meta/recipes-devtools/gcc/gcc-package-runtime.inc
index feb8735..9962615 100644
--- a/meta/recipes-devtools/gcc/gcc-package-runtime.inc
+++ b/meta/recipes-devtools/gcc/gcc-package-runtime.inc
@@ -13,6 +13,9 @@ PACKAGES = "\
13 libgfortran-dev \ 13 libgfortran-dev \
14 libmudflap \ 14 libmudflap \
15 libmudflap-dev \ 15 libmudflap-dev \
16 libgomp \
17 libgomp-dev \
18 libgomp-staticdev \
16" 19"
17# The base package doesn't exist, so we clear the recommends. 20# The base package doesn't exist, so we clear the recommends.
18RRECOMMENDS_${PN}-dbg = "" 21RRECOMMENDS_${PN}-dbg = ""
@@ -61,3 +64,12 @@ FILES_libmudflap-dev = "\
61 ${libdir}/libmudflap*.a \ 64 ${libdir}/libmudflap*.a \
62 ${libdir}/libmudflap*.la" 65 ${libdir}/libmudflap*.la"
63 66
67FILES_libgomp-dev = "\
68 ${libdir}/libgomp*.so \
69 ${libdir}/libgomp*.la \
70 ${libdir}/libgomp.spec \
71 ${libdir}/gcc/${TARGET_SYS}/${BINV}/include/omp.h \
72 "
73FILES_libgomp-staticdev = "\
74 ${libdir}/libgomp*.a \
75 "