Unless there are compelling reasons for building a distributable monolithic kernel for RHEL, CentOS or Fedora that you haven't told us about (yet) I would strongly suggest you do not attempt to do that. OTOH if an exercise in futility is sorely needed, or if this is only for a local system / virtualization guest you're willing to b0rk, then you could just build and install the kernel the way you want it and then create a .spec file around those commands. Its not that hard to do really. If unsure build, install and run the kernel and list the commands you used.
|