]> code.ossystems Code Review - openembedded-core.git/commitdiff
time: BBCLASSEXTEND to native and nativesdk
authorAndré Draszik <adraszik@tycoint.com>
Tue, 17 Jan 2017 15:54:39 +0000 (15:54 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 19 Jan 2017 22:45:45 +0000 (22:45 +0000)
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@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-extended/time/time.inc

index 85862177b7fe7c934e1ac98a4519b52b5b280003..6b20d7c52061a55e3885776293afb0b744b6194c 100644 (file)
@@ -10,3 +10,5 @@ inherit texinfo update-alternatives
 
 ALTERNATIVE_${PN} = "time"
 ALTERNATIVE_PRIORITY = "100"
+
+BBCLASSEXTEND = "native nativesdk"