time: BBCLASSEXTEND to native and nativesdk

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.

(From OE-Core rev: a335aed0c2f64defc503ae3cc66c9ca0645eb6db)

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
André Draszik 2017-01-17 15:54:39 +00:00 committed by Richard Purdie
parent 1e2085a538
commit 51d5d7f843
1 changed files with 2 additions and 0 deletions

View File

@ -10,3 +10,5 @@ inherit texinfo update-alternatives
ALTERNATIVE_${PN} = "time"
ALTERNATIVE_PRIORITY = "100"
BBCLASSEXTEND = "native nativesdk"