summaryrefslogtreecommitdiffstats
path: root/rules/kernel.in
diff options
context:
space:
mode:
authorMarkus Pargmann <mpa@pengutronix.de>2016-04-28 10:03:04 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2016-05-01 09:12:26 +0200
commitb79b3a68a6f097f56bf75c54361a44abfae27737 (patch)
treeb283946dea50127dd6ebb49a91a6ca27b16d1c2a /rules/kernel.in
parente30ffd90ad2615b3d2c8d1f015f91d2bbbefc292 (diff)
downloadptxdist-b79b3a68a6f097f56bf75c54361a44abfae27737.tar.gz
ptxdist-b79b3a68a6f097f56bf75c54361a44abfae27737.tar.xz
kernel: add support for perf and iio tools
Not-Signed-off-by: Markus Pargmann <mpa@pengutronix.de> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'rules/kernel.in')
-rw-r--r--rules/kernel.in17
1 files changed, 17 insertions, 0 deletions
diff --git a/rules/kernel.in b/rules/kernel.in
index 77345336b..be5753ed3 100644
--- a/rules/kernel.in
+++ b/rules/kernel.in
@@ -2,6 +2,10 @@
menuconfig KERNEL
bool "kernel tools "
+ select LIBELF if KERNEL_TOOL_PERF
+ select LIBELF_LIBDW if KERNEL_TOOL_PERF
+ select SLANG if KERNEL_TOOL_PERF
+ select BINUTILS if KERNEL_TOOL_PERF
if KERNEL
@@ -17,4 +21,17 @@ config KERNEL_VMLINUX
help
install kernel image to /boot/vmlinux
+config KERNEL_TOOL_PERF
+ select KERNEL_XPKG
+ bool "perf"
+ help
+ perf helps to analyze and measure performance using hardware and
+ software counters.
+
+config KERNEL_TOOL_IIO
+ select KERNEL_XPKG
+ bool "iio (>=v4.5)"
+ help
+ IIO tools help to access and analyze the iio devices.
+
endif