[Buildroot] [PATCH v2 2/3] shadowsocks-libev: Adding the pthreads dependency
xu min
xuminready at gmail.com
Mon Jun 18 07:13:51 UTC 2018
Hi Thomas,
Thank you for your help. I'll keep learning and improving my commit.
MinXu
On Sun, Jun 17, 2018 at 6:43 AM Thomas Petazzoni <
thomas.petazzoni at bootlin.com> wrote:
> Hello,
>
> On Mon, 11 Jun 2018 11:18:22 -0700, Min Xu wrote:
> > Signed-off-by: Min Xu <xuminready at gmail.com>
>
> Here again, the commit log was empty, which is not good. It should have
> explained *why* you did this change.
>
> > ---
> > package/shadowsocks-libev/Config.in | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/package/shadowsocks-libev/Config.in
> b/package/shadowsocks-libev/Config.in
> > index d02e5a9..82c88e9 100644
> > --- a/package/shadowsocks-libev/Config.in
> > +++ b/package/shadowsocks-libev/Config.in
> > @@ -1,5 +1,6 @@
> > config BR2_PACKAGE_SHADOWSOCKS_LIBEV
> > bool "shadowsocks-libev"
> > + depends on BR2_TOOLCHAIN_HAS_THREADS # require pthreads
> > depends on BR2_USE_MMU # fork()
> > select BR2_PACKAGE_C_ARES
> > select BR2_PACKAGE_LIBEV
>
> When you add a dependency on a toolchain option, you need to add the
> corresponding Config.in comment:
>
> +comment "shadowsocks-libev needs a toolchain w/ threads"
> + depends on BR2_USE_MMU
> + depends on !BR2_TOOLCHAIN_HAS_THREADS
>
> I've added that, extended the commit log and applied.
>
> Thanks!
>
> Thomas
> --
> Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
> Embedded Linux and Kernel engineering
> https://bootlin.com
>
--
*Best Regards*
*XuMin's Ready!*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180618/9a8041f3/attachment-0002.html>
More information about the buildroot
mailing list