[oe] [meta-oe][PATCH v2] socorro-syms: Make usage less verbose

Daniel Markus daniel.markus at leica-geosystems.com
Thu Feb 26 10:06:37 UTC 2015


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 <daniel.markus at leica-geosystems.com>
---
 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




More information about the Openembedded-devel mailing list