Skip to content

arch: move atomics to arch, not toolchain (branch yem/atomics)

Yann E. MORIN buildroot 2 versions New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest24 patches 0 repliesNew
  2. v424 patches 0 repliesSuperseded

Changes in v5 from the cover letter

- enhance the manual (Thomas DS)
- misc typoes (Thomas DS)

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/24arch: add an option to specify if the arch has atomic opsarch/Config.in arch/Config.in.arc toolchain/toolchain-common.in+7 -20 replies
2/24package/icu: use the new ARCH_HAS_ATOMICS as dependencypackage/beecrypt/Config.in package/cppcms/Config.in package/icu/Config.in +2 more+19 -200 replies
3/24package/libtorrent: use the new ARCH_HAS_ATOMICS as dependencypackage/libtorrent/Config.in package/rtorrent/Config.in+8 -80 replies
4/24package/jack2: use the new ARCH_HAS_ATOMICS as dependencypackage/jack2/Config.in+4 -30 replies
5/24package/thrift: use the new ARCH_HAS_ATOMICS as dependencypackage/thrift/Config.in+4 -40 replies
6/24toolchain: drop the now-unused old BR2_TOOLCHAIN_HAS_ATOMIC_INTRINSICSarch/Config.in toolchain/toolchain-common.in+0 -40 replies
7/24manual: document dependencies on atomic operationsdocs/manual/adding-packages-directory.txt+5 -00 replies
8/24cairo: add dependency on atomic operationspackage/cairo/Config.in package/efl/libevas-generic-loaders/Config.in package/gstreamer/gst-plugins-good/Config.in +7 more+16 -00 replies
9/24pulseaudio: add dependency on atomic operationspackage/gstreamer/gst-plugins-good/Config.in package/gstreamer1/gst1-plugins-good/Config.in package/mpd/Config.in +1 more+16 -00 replies
10/24libftdi: add dependency on atomic operationspackage/libftdi/Config.in package/openocd/Config.in+3 -00 replies
11/24msgpack: add dependency on atomic operationspackage/msgpack/Config.in package/python-msgpack/Config.in+4 -40 replies
12/24arch/arm: always has atomic opsarch/Config.in.aarch64 arch/Config.in.arm+6 -00 replies
13/24arch/avr32: always has atomic opsarch/Config.in.avr32+3 -00 replies
14/24arch/bfin: always has atomic opsarch/Config.in.bfin+3 -00 replies
15/24arch/m68k: always has atomic opsarch/Config.in.m68k+3 -00 replies
16/24arch/microblaze: always has atomic opsarch/Config.in.microblaze+3 -00 replies
17/24arch/mips: always has atomic opsarch/Config.in.mips+3 -00 replies
18/24arch/nios2: always has atomic opsarch/Config.in.nios2+3 -00 replies
19/24arch/powerpc: always has atomic opsarch/Config.in.powerpc+3 -00 replies
20/24arch/sh: always has atomic opsarch/Config.in.sh+3 -00 replies
21/24arch/sparc: always has atomic opsarch/Config.in.sparc+3 -00 replies
22/24arch/x86: all x86 but i386 has atomics operationsarch/Config.in.x86+3 -00 replies
23/24arch/xtensa: always has atomic opsarch/Config.in.xtensa+3 -00 replies
24/24arch: remove no-longer default on atomics optionarch/Config.in+0 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.

Read the v5 thread

Cover letter [Buildroot] [PATCH 0/24 v5] arch: move atomics to arch, not toolchain (branch yem/atomics)

Hello All!

This series is a follow-up to, and includes Anton's series, to introduce awareness of atomic operations, so pacjages can be hidden-away on architectures that do not provide atomic operations.

We've discussed this with Thomas on IRC and on the list, and although this comes late in the cycle, we both consider this to be materials for the *current* release.

I tried to cover all bases here, but there are architectures I have close-to-zero knowledge of, so please speak up if you disagree on my proposal.

The series is split in thre parts:

- patches 1..7 renames the option, and moves it out of toolchain and

    to an architecture option, and add the option to the manual;

- patches 8..11 hides more packages due to their requiring atomics

- patches 12..24 convert all our architectures to selectively declare their (non-)support for atomic ops, to finally get rid of the generic default value.

Changes v4 -> v5:
- enhance the manual (Thomas DS)
- misc typoes (Thomas DS)

Changes v3 -> v4:
- rename the option into an architecture option (Yann)

Regards,
Yann E. MORIN.

The following changes since commit 4e116bf3696234347a2628cda78b976ac70ba6da:

postgresql: remove devfiles from target (2014-08-17 21:16:34 +0200)

are available in the git repository at:

git://gitorious.org/buildroot/buildroot.git yem/atomics

for you to fetch changes up to a2b1d4aad5e0611dce67c2bfed7cb724d0b6843a:

arch: remove no-longer default on atomics option (2014-08-17 21:24:30 +0200)

----------------------------------------------------------------
Anton Kolesov (5):
manual: document dependencies on atomic operations
cairo: add dependency on atomic operations
pulseaudio: add dependency on atomic operations
libftdi: add dependency on atomic operations
msgpack: add dependency on atomic operations

Yann E. MORIN (19):
arch: add an option to specify if the arch has atomic ops package/icu: use the new ARCH_HAS_ATOMICS as dependency package/libtorrent: use the new ARCH_HAS_ATOMICS as dependency package/jack2: use the new ARCH_HAS_ATOMICS as dependency package/thrift: use the new ARCH_HAS_ATOMICS as dependency
toolchain: drop the now-unused old BR2_TOOLCHAIN_HAS_ATOMIC_INTRINSICS arch/arm: always has atomic ops
arch/avr32: always has atomic ops
arch/bfin: always has atomic ops
arch/m68k: always has atomic ops
arch/microblaze: always has atomic ops
arch/mips: always has atomic ops
arch/nios2: always has atomic ops
arch/powerpc: always has atomic ops
arch/sh: always has atomic ops
arch/sparc: always has atomic ops
arch/x86: all x86 but i386 has atomics operations arch/xtensa: always has atomic ops
arch: remove no-longer default on atomics option

 arch/Config.in                                 |  4 ++++
 arch/Config.in.aarch64                         |  3 +++
 arch/Config.in.arc                             |  2 +-
 arch/Config.in.arm                             |  3 +++
 arch/Config.in.avr32                           |  3 +++
 arch/Config.in.bfin                            |  3 +++
 arch/Config.in.m68k                            |  3 +++
 arch/Config.in.microblaze                      |  3 +++
 arch/Config.in.mips                            |  3 +++
 arch/Config.in.nios2                           |  3 +++
 arch/Config.in.powerpc                         |  3 +++
 arch/Config.in.sh                              |  3 +++
 arch/Config.in.sparc                           |  3 +++
 arch/Config.in.x86                             |  3 +++
 arch/Config.in.xtensa                          |  3 +++
 docs/manual/adding-packages-directory.txt      |  5 +++++
 package/beecrypt/Config.in                     | 12 ++++++------
 package/cairo/Config.in                        |  1 +
 package/cppcms/Config.in                       |  7 ++++---
 package/efl/libevas-generic-loaders/Config.in  |  2 ++
 package/gstreamer/gst-plugins-good/Config.in   |  7 +++++++
 package/gstreamer1/gst1-plugins-good/Config.in |  7 +++++++
 package/icu/Config.in                          |  7 ++++---
 package/jack2/Config.in                        |  7 ++++---
 package/libftdi/Config.in                      |  2 ++
 package/libgtk2/Config.in                      |  2 ++
 package/librsvg/Config.in                      |  2 ++
 package/libsvg-cairo/Config.in                 |  1 +
 package/libtorrent/Config.in                   |  8 ++++----
 package/mpd/Config.in                          |  2 ++
 package/msgpack/Config.in                      |  4 ++--
 package/openocd/Config.in                      |  1 +
 package/pango/Config.in                        |  2 ++
 package/php/Config.ext                         |  8 ++++----
 package/pulseaudio/Config.in                   |  2 ++
 package/python-msgpack/Config.in               |  4 ++--
 package/qt5/qt5base/Config.in                  |  5 +----
 package/rtorrent/Config.in                     |  8 ++++----
 package/thrift/Config.in                       |  8 ++++----
 package/webkit/Config.in                       |  2 ++
 package/weston/Config.in                       |  2 ++
 toolchain/toolchain-common.in                  |  4 ----
 42 files changed, 123 insertions(+), 44 deletions(-)
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  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.  |
'------------------------------^-------^------------------^--------------------'