base.bbclass: Allow buildstats to be optionally supplied
Buildstats should be allowed to be optionally enabled. It's recommended that it be enabled via the USER_CLASSES setting. Alternatively it could be enabled via the INHERIT_DISTRO or similar mechanism. (From OE-Core rev: 09b1dc8bd886c8cd2a5d4085d8bb4b73ece1f5b0) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
68ea0d51e2
commit
7e66c3c4c2
|
@ -156,12 +156,13 @@ EXTRA_IMAGE_FEATURES = "debug-tweaks"
|
|||
# The following is a list of additional classes to use when building images which
|
||||
# enable extra features. Some available options which can be included in this variable
|
||||
# are:
|
||||
# - 'buildstats' collect build statistics
|
||||
# - 'image-mklibs' to reduce shared library files size for an image
|
||||
# - 'image-prelink' in order to prelink the filesystem image
|
||||
# - 'image-swab' to perform host system intrusion detection
|
||||
# NOTE: if listing mklibs & prelink both, then make sure mklibs is before prelink
|
||||
# NOTE: mklibs also needs to be explicitly enabled for a given image, see local.conf.extended
|
||||
USER_CLASSES ?= "image-mklibs image-prelink"
|
||||
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
|
||||
|
||||
#
|
||||
# Runtime testing of images
|
||||
|
|
|
@ -7,7 +7,6 @@ inherit mirrors
|
|||
inherit utils
|
||||
inherit utility-tasks
|
||||
inherit metadata_scm
|
||||
inherit buildstats
|
||||
inherit logging
|
||||
|
||||
OE_IMPORTS += "os sys time oe.path oe.utils oe.data oe.packagegroup"
|
||||
|
|
Loading…
Reference in New Issue