From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yann E. MORIN Date: Tue, 26 Jan 2016 23:17:52 +0100 Subject: [Buildroot] [PATCH 16/21] msgpack: rework BR2_ARCH_HAS_ATOMICS dependency In-Reply-To: <1453676887-31236-17-git-send-email-thomas.petazzoni@free-electrons.com> References: <1453676887-31236-1-git-send-email-thomas.petazzoni@free-electrons.com> <1453676887-31236-17-git-send-email-thomas.petazzoni@free-electrons.com> Message-ID: <20160126221752.GB3462@free.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Thomas, All, On 2016-01-25 00:08 +0100, Thomas Petazzoni spake thusly: > The msgpack source code indeed checks for the 4 bytes __sync built-in, > so this commit switches the package from a BR2_ARCH_HAS_ATOMICS > dependency to a BR2_TOOLCHAIN_HAS_SYNC_4 dependency. > > python-msgpack, a reverse dependency of msgpack, is changed in the > same way. > > Signed-off-by: Thomas Petazzoni Reviewed-by: "Yann E. MORIN" Regards, Yann E. MORIN. > --- > package/msgpack/Config.in | 4 ++-- > package/python-msgpack/Config.in | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/package/msgpack/Config.in b/package/msgpack/Config.in > index a57a378..b8e8213 100644 > --- a/package/msgpack/Config.in > +++ b/package/msgpack/Config.in > @@ -1,7 +1,7 @@ > config BR2_PACKAGE_MSGPACK > bool "msgpack" > depends on BR2_INSTALL_LIBSTDCPP > - depends on BR2_ARCH_HAS_ATOMICS > + depends on BR2_TOOLCHAIN_HAS_SYNC_4 > help > MessagePack is an efficient binary serialization format. > > @@ -11,5 +11,5 @@ config BR2_PACKAGE_MSGPACK > http://msgpack.org/ > > comment "msgpack needs a toolchain w/ C++" > - depends on BR2_ARCH_HAS_ATOMICS > depends on !BR2_INSTALL_LIBSTDCPP > + depends on BR2_TOOLCHAIN_HAS_SYNC_4 > diff --git a/package/python-msgpack/Config.in b/package/python-msgpack/Config.in > index ed0b432..cba3b51 100644 > --- a/package/python-msgpack/Config.in > +++ b/package/python-msgpack/Config.in > @@ -3,7 +3,7 @@ config BR2_PACKAGE_PYTHON_MSGPACK > depends on BR2_PACKAGE_PYTHON > select BR2_PACKAGE_MSGPACK > depends on BR2_INSTALL_LIBSTDCPP # msgpack > - depends on BR2_ARCH_HAS_ATOMICS # msgpack > + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # msgpack > help > MessagePack (http://msgpack.org/) is a fast, compact binary > serialization format, suitable for similar data to JSON. > @@ -13,6 +13,6 @@ config BR2_PACKAGE_PYTHON_MSGPACK > https://pypi.python.org/pypi/msgpack-python/ > > comment "python-msgpack needs a toolchain w/ C++" > - depends on BR2_ARCH_HAS_ATOMICS > + depends on BR2_TOOLCHAIN_HAS_SYNC_4 > depends on BR2_PACKAGE_PYTHON > depends on !BR2_INSTALL_LIBSTDCPP > -- > 2.6.4 > > _______________________________________________ > buildroot mailing list > buildroot at busybox.net > http://lists.busybox.net/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'