[OE-core] [PATCH 3/4] buildhistory-extra.bbclass: simplify usage

Patrick Ohly patrick.ohly at intel.com
Wed Nov 25 09:30:31 UTC 2015


From: Ismo Puustinen <ismo.puustinen at intel.com>

Instead of expecting the user to put InHERIT += "buildhistory
buildhistory-extra" into the local.conf, now only listing
buildhistory-extra is needed because the base class will always
be inherited.

[Change from Ismo, commit message from Patrick]

Signed-off-by: Patrick Ohly <patrick.ohly at intel.com>
---
 meta/classes/buildhistory-extra.bbclass | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/classes/buildhistory-extra.bbclass b/meta/classes/buildhistory-extra.bbclass
index e9fea5d..2dd5c5f 100644
--- a/meta/classes/buildhistory-extra.bbclass
+++ b/meta/classes/buildhistory-extra.bbclass
@@ -4,6 +4,8 @@
 # Copyright (C) 2015 Intel Corporation
 # Licensed under the MIT license
 
+inherit buildhistory
+
 BUILDHISTORY_EXTRA_PKGVARS ?= "PACKAGECONFIG EXTRA_OEMAKE EXTRA_OECONF EXTRA_OECMAKE EXTRA_OESCONS EXTRA_QMAKEVARS_PRE EXTRA_QMAKEVARS_POST OE_FEATURES SUMMARY DESCRIPTION HOMEPAGE LICENSE"
 
 python buildhistory_emit_pkghistory_append() {
-- 
2.1.4




More information about the Openembedded-core mailing list