This will create a kernel/ subdirectory hierarchy under your current working dir with a dir for each Fedora branch, the rawhide
kernel will be located in the master branch.

Building a non-debugging kernel

The following example assumes building a kernel for F-14, which is currently based on the 2.6.35 stable series.

$ cd kernel/f14

kernel/f14 $ make release

This make target will modify your checkout of the F-14 source to generate both a kernel and kernel-debug rpms.

kernel/f14 $ fedpkg local

fedpkg local will chug away for a very long time (on most systems) building the kernels for your currently running architecture. See another article for how to generate an SRPM and do more complicated things like mock building.

When it completes the subdirectory kernel/f14/x86_64 (or i686 or whatnot) will have a kernel rpm with debugging disabled by default. These can be installed with, for example: