[oe-commits] Richard Purdie : gcc-cross-canadian-4.8: Allow elfutils to be a configurable dependency

git at git.openembedded.org git at git.openembedded.org
Thu Aug 22 17:20:10 UTC 2013


Module: openembedded-core.git
Branch: master-next
Commit: 717e940d2c2beccfda31dda16a2d0d6d9a495042
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=717e940d2c2beccfda31dda16a2d0d6d9a495042

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Tue Aug 20 22:23:15 2013 +0000

gcc-cross-canadian-4.8: Allow elfutils to be a configurable dependency

Some SDK platforms have elfutils support, some do not, therefore allow
this to be configured.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 .../recipes-devtools/gcc/gcc-cross-canadian_4.8.bb |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian_4.8.bb b/meta/recipes-devtools/gcc/gcc-cross-canadian_4.8.bb
index 278a529..49ba75f 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-canadian_4.8.bb
+++ b/meta/recipes-devtools/gcc/gcc-cross-canadian_4.8.bb
@@ -5,8 +5,9 @@ require gcc-cross-canadian.inc
 require gcc-configure-sdk.inc
 require gcc-package-sdk.inc
 
-DEPENDS += "nativesdk-gmp nativesdk-mpfr nativesdk-libmpc nativesdk-elfutils"
-RDEPENDS_${PN} += "nativesdk-mpfr nativesdk-libmpc nativesdk-elfutils"
+ELFUTILS = "nativesdk-elfutils"
+DEPENDS += "nativesdk-gmp nativesdk-mpfr nativesdk-libmpc ${ELFUTILS}"
+RDEPENDS_${PN} += "nativesdk-mpfr nativesdk-libmpc ${ELFUTILS}"
 
 SYSTEMHEADERS = "/usr/include"
 SYSTEMLIBS = "${target_base_libdir}/"



More information about the Openembedded-commits mailing list