[yocto] curl package config
Erik Botö
erik.boto at gmail.com
Thu Sep 6 12:10:27 PDT 2018
Hi,
On Thu, Sep 6, 2018 at 8:01 PM Antonio Santagiuliana <
santantonioswap at 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 at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180906/5caae2bb/attachment.html>
More information about the yocto
mailing list