Red Hat Bugzilla – Bug 26705
/usr/include/linux/rhconfig.h is not necessary.
Last modified: 2008-03-13 15:18:51 EDT
/usr/include/linux/rhconfig.h shouldn't be in
kernel-headers. The idea is /usr/include/linux
and /usr/include/asm are indepedent of the running
kernel. Including the Redhat specific stuff
in /usr/include/linux defeats its purpose.
For the kernel-headers rpm, you should pick a
config and do
# make oldconfig
# make dep
# pack include/linux and include/asm