If I installed a new kernel via rpm, I can see the kernel source ( /usr/src/kernel/4.xxx-xxxx-xxxx ) for me to build the driver. It seems covered by kernel-devel rpm.
Now, I want to install/build the new kernel from the upstream source, what should I do to also have the kernel source be installed as kernel-ml-devel-4.14.15-1.el7.elrepo.x86_64.rpm did?
Doing these will install the kernel source? or just install a new kernel?
make; make modules; make install; make modules_install