I am on Ubuntu 18.04 and I am trying to build my own kernel by this guide and this guide.
Unfortunately the command:
AUTOBUILD=1 fakeroot debian/rules binary-headers binary-generic binary-perarch skipdbg=false
Give me this error:
dh binary-headers
dh: Unknown sequence binary-headers (choose from: binary binary-arch binary-indep build build-arch build-indep clean install install-arch install-indep)
debian/rules:35: recipe for target 'binary-headers' failed
make: *** [binary-headers] Error 2
I suspect the guide is not updated, and I searched a lot about rules script recipies list, but I did not find anything useful.
Could somebody help me?
Thank you!
Edit 1 The allowed recipies are binary binary-arch binary-indep build build-arch build-indep clean install install-arch install-indep
but with these does not yet produce a kernel with embedded debug symbols.
Edit 2 Debian rules are stored into /usr/src/linux-source-{KERNEL-VERSION}/debian/rules.d
and into 0-common-vars.mk
you can find all the allowed switches.