mbox series

[v2,0/2] linux-custom: add linux-tools package and perf

Message ID 20251126130534.3484253-2-itrue@emlix.com
Headers show
Series linux-custom: add linux-tools package and perf | expand

Message

Isaac True Nov. 26, 2025, 1:02 p.m. UTC
Modify the linux-custom recipe to additionally generate a linux-tools
package, build the perf binary, and add this binary to the new package.
This is useful for profiling application and kernel performance on
targets.

Changes since v1:

- Make generation of the linux-tools package configurable. If the
  `KERNEL_BUILD_TOOLS` variable is set to `"1"`, perf will be built
  and the package will be generated.

Isaac True (2):
  linux-custom: add linux-tools package and build perf
  doc: custom_kernel: add perf and linux-tools

 doc/custom_kernel.md                                   |  9 +++++----
 meta/recipes-kernel/linux/files/debian/control.tmpl    | 10 ++++++++++
 meta/recipes-kernel/linux/files/debian/isar/build.tmpl |  3 +++
 .../recipes-kernel/linux/files/debian/isar/common.tmpl |  2 ++
 .../linux/files/debian/isar/install.tmpl               |  7 +++++++
 meta/recipes-kernel/linux/files/debian/rules.tmpl      |  2 +-
 meta/recipes-kernel/linux/linux-custom.inc             | 10 ++++++++++
 7 files changed, 38 insertions(+), 5 deletions(-)