On Fri, Mar 10, 2017 at 6:50 AM, Karim ATIKI <karim_at...@hotmail.com> wrote: > Hi, > > > I'm currently trying to patch the linux kernel 3.8.13-r2 of an ARM based > board (Hachiko) in order to enable Bluetooth and RFCOMM support. > > > Currently, I select these options with bitbake -c menuconfig virtual/kernel > > I'd like to use a patch on the defconfig in order to avoid the menuconfig > step. > > > I've created a linux_3.8.13.bbappend file to apply the path. > > > Th patch file looks like: > > > > --- a defconfig > +++ b defconfig > @@ -107,3 +107,16 @@ > CONFIG_CRYPTO_CBC=y > CONFIG_CRYPTO_MD5=y > CONFIG_CRYPTO_DES=y > +# > +# FIR device drivers > +# > +CONFIG_BT=y > +CONFIG_BT_RFCOMM=y > +CONFIG_BT_RFCOMM_TTY=y > + > +# > +# Bluetooth device drivers > +# > +CONFIG_BT_HCIBTUSB=y > +CONFIG_WIRELESS=y > > > The working directory of the linux is: > > > /home/kai/yocto/build-hachiko/tmp/work/hachiko64-poky-linux-gnueabi/linux/3.8.13-r2/linux-3.8.13 > > > But when the linux is fetched and unpacked, the root defconfig file is put > in: > > > /home/kai/yocto/build-hachiko/tmp/work/hachiko64-poky-linux-gnueabi/linux/3.8.13-r2 > > > therefore, the patch step failed. > > > I tried to modify the patch with --- a/../defconfig and b/../defconfig > > but it does not work better. > > > Any idea how to make it work ?
You can edit do_configure_prepend() in linux-rpi.inc kernel_configure_variable CONFIG_BT y ... > > > Thanks. > > > Karim > > > -- > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto > -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto