[OE-core] [PATCH] time: BBCLASSEXTEND to native and nativesdk

André Draszik git at andred.net
Tue Jan 17 15:54:39 UTC 2017


From: André Draszik <adraszik at tycoint.com>

Some recipe might use time, e.g.
  http://git.yoctoproject.org/cgit/cgit.cgi/meta-swupd/tree/classes/swupd-image.bbclass?id=531a8e636ca891c34f2596eb7f6365a11d4b29a7#n481
Time is a bash built-in, or a separate utility (typically
in /usr/bin/), but not everybody uses bash, or has
GNU time installed by default.

Signed-off-by: André Draszik <adraszik at tycoint.com>
---
 meta/recipes-extended/time/time.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-extended/time/time.inc b/meta/recipes-extended/time/time.inc
index 85862177b7..6b20d7c520 100644
--- a/meta/recipes-extended/time/time.inc
+++ b/meta/recipes-extended/time/time.inc
@@ -10,3 +10,5 @@ inherit texinfo update-alternatives
 
 ALTERNATIVE_${PN} = "time"
 ALTERNATIVE_PRIORITY = "100"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.11.0




More information about the Openembedded-core mailing list