There is an example in meta-skeleton/recipes-kernel Best Regards, Ulf Samuelsson
> 12 juni 2018 kl. 09:33 skrev Iván Castell <icast...@nayarsystems.com>: > > Hello. > > First you need to reconfigure your kernel configuration (ncurses must be > properly installed in your host PC): > > $ bitbake -c menuconfig virtual/kernel > > After you need to generate a fragment.cfg (containing a diff betweeen your > default and your recently customized kernel config): > > $ bitbake -c diffconfig virtual/kernel > > Thak will generate the fragment.cfg fine into your ${WORKDIR} > > Then you need to create a bbappend in your own BSP layer extending the > content of your working kernel recipe. Something similar to this: > > $ cat your-custom-bsp-layer/recipes-kernel/linux/linux-kernel_%.bbappend > > FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" > > SUMMARY = "Linux kernel customization for your board" > LINUX_VERSION = "x.y.z" > > inherit kernel > > SRC_URI += " \ > file://fragment.cfg \ > " > > Just replace x.y.z by your specific kernel version. The fragment.cfg file > must be available inside your own kernel recipe, in a directory named ${PN} > (as indicated by FILESEXTRAPATHS_prepend): > > $ ls your-custom-bsp-layer/recipes-kernel/linux/linux-kernel > fragment.cfg > > Then you already can build your new kernel: > > $ bitbake virtual/kernel > > Hope this helps! > > -- > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto