The kernel has a build in configuration program (menuconfig) that can be called directly from bitbake. This is to make sure your starting point is your current configuration, so that only new / changed configuration options are generated (diffconfig).
Create kernel fragments:
bitbake linux-yocto -c kernel_configme -f
bitbake linux-yocto -c menuconfig // configure the kernel using menuconfig
bitbake linux-yocto -c diffconfig // create kernel fragment after configuring
Go to out/current/build/tmp/work/edison-poky-linux/linux-yocto/version/ and manually copy the fragment file to meta-intel-edison/meta-intel-edison-bsp/recipes-kernel/linux/files/. You may want to give the fragment a useful name. Then add the fragment to the kernel recipe in meta-intel-edison/meta-intel-edison-bsp/recipes-kernel/linux/.
When your done, clean up:
bitbake linux-yocto -c cleansstate
© 2018 Ferry Toth