Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
builddeb: Add linux-tools package with perf
Original Author: Riku Voipio <riku.voipio@linaro.org> Perf is shipped in debian in linux-tools-$version package. Extend the existing to builddeb script to build perf if BUILD_TOOLS=y is added the make deb-pkg line Some features of this patch I'm uncomfortable with: 1. Relative paths are resoved to absolute ones Especially with separate O= buildd, perf build from tools/perf dir fail. 2. Unsetting LDFLAGS make -> shell (builddeb) -> make expands variables. The LDFLAGS as set by toplevel makefile are for kernel, so we just unset the flag here. 3. Replaces ubuntu/debian packages instead attempting to fit to the linux-base/linux-tools-common frameworks. I think people who want to run "make deb-pkg" for their kernels would rather keep this simple. 4. More tools than just perf could be built - unfortunately most tools fail to have a working "install" target and/or else have build process inconsistent with other tools. A topic for another patch series. Signed-off-by: Alexandre Frade <kernel@xanmod.org>
- Loading branch information