add support for gentoo kernels

Please commit the changes to support kernels created either with the gentoo genkernel toolkit or as described by the gentoo guidelines.