summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2011-11-30 16:03:21 -0600
committerSaul Wold <sgw@linux.intel.com>2012-01-02 20:26:22 -0800
commit09b1dc8bd886c8cd2a5d4085d8bb4b73ece1f5b0 (patch)
tree62b226004fa6d595162020765471307526b5a27d
parent0ae387e529cd875c9070f7316ae05c6943533008 (diff)
downloadopenembedded-core-09b1dc8bd886c8cd2a5d4085d8bb4b73ece1f5b0.tar.gz
openembedded-core-09b1dc8bd886c8cd2a5d4085d8bb4b73ece1f5b0.tar.bz2
openembedded-core-09b1dc8bd886c8cd2a5d4085d8bb4b73ece1f5b0.zip
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. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
-rw-r--r--meta/classes/base.bbclass1
-rw-r--r--meta/conf/local.conf.sample3
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index fbcaefb4dd..e65a7220f5 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -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"
diff --git a/meta/conf/local.conf.sample b/meta/conf/local.conf.sample
index 73ab9f8f13..7d52d0eb2f 100644
--- a/meta/conf/local.conf.sample
+++ b/meta/conf/local.conf.sample
@@ -134,12 +134,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