DISTRO_FEATURES_DEFAULT is set using ?= : DISTRO_FEATURES_DEFAULT ?= "acl alsa argp bluetooth ext2 ipv4 ipv6 irda largefile pcmcia usbgadget usbhost wifi xattr nfs zeroconf pci 3g nfc x11"
So you can override it by setting it using =, which is also a chance to trim other unnecessary features. Alex On Fri, 29 Mar 2019 at 10:50, Dimitris Tassopoulos <dimt...@gmail.com> wrote: > > Hi Alexander, > > in this case the 3g is added by default from the poky distro in > the DISTRO_FEATURES_DEFAULT var in: > meta/conf/distro/include/default-distrovars.inc > > And because the poky distro is the base distro for the image > this is inherited. Therefore it needs to be removed with the > DISTRO_FEATURES_remove unless there is another way, > which I'm not aware to easily remove/adjust without having > to create a new distro. > > Regards, > Dimitris > > On Fri, Mar 29, 2019 at 10:38 AM Alexander Kanavin <alex.kana...@gmail.com> > wrote: >> >> You can do that using >> >> bitbake -e <image> and looking for how DISTRO_FEATURES is formed in >> the output of the command. >> >> Alex >> >> On Fri, 29 Mar 2019 at 10:37, Alexander Kanavin <alex.kana...@gmail.com> >> wrote: >> > >> > On Fri, 29 Mar 2019 at 09:51, Dimitris Tassopoulos <dimt...@gmail.com> >> > wrote: >> > >> > > To do that, add this to your build/conf/local.conf file >> > > >> > >> DISTRO_FEATURES_remove = " 3g" >> > >> > This works around the issue after the fact. It's better to track down >> > where 3g is added in the first place, and adjust that. >> > >> > Alex -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto