How to include kernel options with package

Hi. I am trying to make docker package for openwrt and I am wondering if there is a chance to include kernel options in package definition. So in build time when I select docker package as M or * proper kernel configuration will be user. Is this possible?


Take a look at 'lxc' package to see how it handles that (it's also a container thingy).