When using Socorro symbols we automatically depend on Breakpad, so
there's no need for the user to explicitly state that dependency.

Let the inheritance of Breakpad be done in the Socorro class,
making the usage of socorro-syms less verbose and less error prone.

Signed-off-by: Daniel Markus <[email protected]>
---
 meta-oe/classes/socorro-syms.bbclass | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/meta-oe/classes/socorro-syms.bbclass 
b/meta-oe/classes/socorro-syms.bbclass
index a4ac079..766a9e6 100644
--- a/meta-oe/classes/socorro-syms.bbclass
+++ b/meta-oe/classes/socorro-syms.bbclass
@@ -7,13 +7,12 @@
 #
 # Use example:
 #
-# inherit breakpad
-# inherit socorro-syms
 # BREAKPAD_BIN = "YourBinary"
+# inherit socorro-syms
 #
 
 # We depend on Breakpad creating the original symbol file.
-DEPENDS += "breakpad"
+inherit breakpad
 
 PACKAGE_PREPROCESS_FUNCS += "symbol_file_preprocess"
 PACKAGES =+ "${PN}-socorro-syms"
-- 
1.9.1

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to