There is a convenient Linux kernel makefile target "make deb-pkg" to build kernel, modules, headers as .deb. Then I can install/remove via dpkg command.

However, for perf compilation, there is only build source package option. I wonder if there is a way to build perf as installable.deb as well?


see the patch "kbuild: Build linux-tools package with 'make deb-pkg'". Or latest you could use this patch "RFC: builddeb: add linux-tools package with perf"However, those patch was not integrated into kernel source.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.