diff options
author | Yong Li <yong.b.li@linux.intel.com> | 2017-12-19 17:06:00 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-01-17 03:56:48 +0300 |
commit | 669b0bebd79f2266f85cd4278cfce9f90867fb75 (patch) | |
tree | 7b60721d39a92edc0ad60c6c6942173386abbc30 /meta-phosphor | |
parent | bb535523a0a6391bfb56b751e35dc8aeb168fe7f (diff) | |
download | openbmc-669b0bebd79f2266f85cd4278cfce9f90867fb75.tar.xz |
Add tools-profile feature support
With this patch, the build system supports the tools-profile feature,
We can add it into the EXTRA_IMAGE_FEATURES in conf/local.conf,
to add more debug/profile tools into the image
Change-Id: Ic3c3811d9bca3f99a9e94d7c9da5a71ce1321d02
Signed-off-by: Yong Li <yong.b.li@linux.intel.com>
Diffstat (limited to 'meta-phosphor')
-rw-r--r-- | meta-phosphor/common/recipes-core/packagegroups/packagegroup-core-tools-profile.bbappend | 12 | ||||
-rw-r--r-- | meta-phosphor/conf/layer.conf | 3 |
2 files changed, 15 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-core/packagegroups/packagegroup-core-tools-profile.bbappend b/meta-phosphor/common/recipes-core/packagegroups/packagegroup-core-tools-profile.bbappend new file mode 100644 index 000000000..78b78e40b --- /dev/null +++ b/meta-phosphor/common/recipes-core/packagegroups/packagegroup-core-tools-profile.bbappend @@ -0,0 +1,12 @@ +RDEPENDS_${PN}_remove = " \ + lttng-tools \ + lttng-ust \ + lttng-modules \ + powertop \ + latencytop \ + " + +RRECOMMENDS_${PN}_remove = " \ + perf \ + trace-cmd \ + " diff --git a/meta-phosphor/conf/layer.conf b/meta-phosphor/conf/layer.conf index ffccec013..ab0b73641 100644 --- a/meta-phosphor/conf/layer.conf +++ b/meta-phosphor/conf/layer.conf @@ -11,3 +11,6 @@ LAYERVERSION_obmc-phosphor = "1" # Provide a variable that points the base of the phosphor layer. PHOSPHORBASE = '${@os.path.normpath("${LAYERDIR}/")}' + +IMAGE_FEATURES[validitems] += "tools-profile" + |