Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
package/linux-tools: perf: add host-python3 dependency
Linux kernel commit 00facc760903 ("perf jevents: Switch build to use jevents.py") switched to auto-generation of arch-specific PMU events using python script. Now custom PMU events for different platforms of the selected target architecture are not embedded into perf binary if an appropriate host python interpreter is not present. In practice it means that perf is successfully built, but 'perf list pmu' will show no custom events on a target platform even if those events are supported and properly defined in tools/perf/pmu-events/arch/<target arch> directory in the kernel source tree. Since building host-python3 is not instantaneous, add a config option, like we have in the kernel for a bunch of host packages, to id=ndicate that host-python3 is required, and only add the dependency in that case. Signed-off-by: Sergey Matyukevich <[email protected]> [[email protected]: - add BR2_PACKAGE_LINUX_TOOLS_PERF_NEEDS_HOST_PYTHON3 - extend commit log accordingly ] Signed-off-by: Yann E. MORIN <[email protected]>
- Loading branch information