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?

  • 1
    Doesn't make-kpkg do this? perf is in the linux-tools-X.XX package. – Gilles May 3 '17 at 21:29

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.

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.