This script patches the kernel source so that it will build when rt support is enabled. Just drop it in the kernel-kit directory, and after configuring kernel, when it says to hit enter to continue, click the script. Then press enter, and the kernel will build normally.
Simplety-kwat-kwat! (As Mr. Pregnant used to say.)