I want to build a ubuntu kernel with debuginfo,so I did thease as following:
- uname -a
4.13.0-43-generic #48~16.04.1-Ubuntu SMP Thu May 17 12:56:46 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
- Downloading the kernel source
apt-get source linux-image-$(uname -r)
- Apply patches dpkg-source -x *.dsc
cd linux-hwe-4.13.0 && make kernelversion
It doesn't match the running kernel, what's wrong with my steps?