I am trying to remove some drivers from the yocto kernel using menuconfig like this below..
bitbake -c menuconfig virtual/kernel
after all the configurations i generate the fragment.cfg with.
bitbake -c diffconfig virtual/kernel
Then i make a .bbappend file in recipes-kernel/linux directory and bitbake my image.
Now the problem is that all the configuration which i do is reset to the default everytime for some reason. how can i make the configuration permanent ?
One solution is to create own receipt and override default.
For example, we are using linux-yocto-rt kernel and create own receipt with name linux-yocto-rt and following files:
linux-yocto-rt\linux-yocto-rt_4.9.bb
linux-yocto-rt\linux-yocto-rt\defconfig
defconfig file changes default configuration.
In bb file you should add link to this file like:
SRC_URI += "file://defconfig "
You can always look inside official documentation
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.