Resolved! How to customize kernel configuration with OpenSTLinux and Yocto?
Following the tutorial on How to customize the Linux kernel I made steps as below:Create a custom layer.Add it to the build configuration in bblayers.conf.Create a fragment.config with bitbake menuconfig and put it into my-layer/recipes-kernel/linux/...