Want to install kmods on wrt32x running divested wrt but need to have a package that will work with my kernel
Impossible without overriding safety precautions.
(There is a hash checksum of all selected kernel modules and config options...)
You should ask the author of the build (divestedwrt ???) to provide you compatible modules.
You could try opkg installing kmods from the OpenWrt repo with manual opkg override options, but the result would likely be a crashing/bricked router.