From patchwork Fri Mar 11 02:20:23 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [05/12] gcc-runtime: Fix dbg files Date: Fri, 11 Mar 2011 02:20:23 -0000 From: Saul Wold X-Patchwork-Id: 1281 Message-Id: <285fbd8a206eee061e27f37430499fcbe1e7284d.1299809859.git.sgw@linux.intel.com> To: poky@yoctoproject.org,openembedded-core@lists.openembedded.org Cc: Bruce Ashfield , Paul Eggleton From: Mark Hatle In order to debug certain C++ items, you need the helper python components. These components should live in the -dbg package, ensure they are added to the recipe. Signed-off-by: Mark Hatle --- meta/recipes-devtools/gcc/gcc-package-runtime.inc | 5 +++++ meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb | 2 +- 2 files changed, 6 insertions(+), 1 deletions(-) diff --git a/meta/recipes-devtools/gcc/gcc-package-runtime.inc b/meta/recipes-devtools/gcc/gcc-package-runtime.inc index 04c70c0..51483f9 100644 --- a/meta/recipes-devtools/gcc/gcc-package-runtime.inc +++ b/meta/recipes-devtools/gcc/gcc-package-runtime.inc @@ -15,6 +15,11 @@ PACKAGES = "\ # The base package doesn't exist, so we clear the recommends. RRECOMMENDS_${PN}-dbg = "" +# include python debugging scripts +FILES_${PN}-dbg += "\ + ${libdir}/libstdc++.so.*-gdb.py \ + ${datadir}/gcc-${PV}/python/libstdcxx" + FILES_libg2c = "${target_libdir}/libg2c.so.*" FILES_libg2c-dev = "\ ${libdir}/libg2c.so \ diff --git a/meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb b/meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb index c1e680d..9eb658b 100644 --- a/meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb +++ b/meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb @@ -1,4 +1,4 @@ -PR = "r3" +PR = "r4" require gcc-${PV}.inc require gcc-configure-runtime.inc