Hi, On Thu, Sep 6, 2018 at 8:01 PM Antonio Santagiuliana < santantonios...@gmail.com> wrote:
> Hello > I am trying to enable the SMB protocol when building curl library by Yocto > the original recipe is under meta/recipes-support/curl > > in my image's local.conf I have > IMAGE_INSTALL_append += "curl-dev" > > curl is built correctly, but SMB is disabled > > So I tried to add a .bbappend file with same name as the recipe's name, > with this line only : > PACKAGECONFIG = "--enable-smb" > > but I still have SMB disaabled on curl. > > Which is the right way to enable it with PACKAGECONFIG? > or another way ? > You just want to add "smb" to the variable PACKAGECONFIG in the bbappend. But since the original recipe uses ??= to assign the default PACKAGECONFIG value you probably want to either redefine the whole variable as the original recipe, but adding "smb" PACKAGECONFIG = "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} gnutls libidn proxy threaded-resolver verbose zlib smb" I think it could work if you use _append as well, since I think that's added after the ??= operator is evaluated. So you can also try (note the space before smb): PACKAGECONFIG_append = " smb" Cheers, Erik thank you > > -- > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto >
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto