Go to file
Thomas Petazzoni 9f99ec21e5 icu: remove BR2_ARCH_HAS_ATOMICS dependency
The BR2_ARCH_HAS_ATOMICS was added because on ARC, atomic instructions
may not be provided by the architecture and therefore the compiler
does not provide the __sync_*() built-ins.

However, since then, icu was changed and is now able to use C++11
atomics, or even no atomic operations at all. In fact, icu will:

 * If possible, it will use C++11 atomics, which internally rely on
   the __atomic built-ins. These are available since gcc 4.7, and all
   architectures provide it. On some architectures, you *must* link
   with libatomic, on some other architectures, they are available
   built-in, but in all cases, linking against libatomic does not
   harm. Thanks to this, even ARC with no atomic support (which was
   the original reason for adding the BR2_ARCH_HAS_ATOMICS) dependency
   builds fine, provided -latomic is added to LIBS.

 * If C++11 atomics are not available, then it falls back to
   __sync_*() built-ins, which allows compilers older than 4.7 to be
   supported.

 * If really no atomic mechanism is available, then it falls back to a
   basic implementation based on a mutex.

Conclusion:

 - The BR2_ARCH_HAS_ATOMICS dependency is no longer needed.

 - We need to link with -latomic when gcc >= 4.7 is used.

Note that reverse dependencies of icu are also changed accordingly.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-01-26 21:26:08 +01:00
arch Add ARM11 MPCore CPU target support 2016-01-03 22:35:22 +01:00
board orangepipc: readme.txt: fix typo 2016-01-17 22:55:25 +01:00
boot uboot: remove unused helper function insert_define 2016-01-18 10:10:50 +01:00
configs configs/orangepipc: bump u-boot to 2016.01 2016-01-17 22:55:25 +01:00
docs support/download: alternative access methods to CVS 2016-01-20 23:26:03 +01:00
fs fs/ext2: add options for extra space and extra inodes 2015-10-31 15:56:56 +01:00
linux linux: handle read-only dts files 2016-01-19 21:46:58 +01:00
package icu: remove BR2_ARCH_HAS_ATOMICS dependency 2016-01-26 21:26:08 +01:00
support support/download: alternative access methods to CVS 2016-01-20 23:26:03 +01:00
system Makefile: drop ldconfig handling 2016-01-03 21:46:07 +01:00
toolchain toolchain/external: add MIPS Codescape IMG GNU Linux toolchain 2016-01-20 10:28:05 +01:00
.defconfig
.gitignore
CHANGES Update for 2015.11 2015-11-30 23:13:41 +01:00
Config.in libungif: remove deprecated 2016-01-20 21:14:10 +01:00
Config.in.legacy package/cups: Un-deprecate, and update CUPS to 2.1.2 2016-01-21 23:37:01 +01:00
COPYING
Makefile core: override the user's locale while setting HOSTARCH 2016-01-20 23:00:01 +01:00
Makefile.legacy
README README: mention 'make list-defconfigs' 2015-04-04 15:19:43 +02:00

Buildroot is a simple, efficient and easy-to-use tool to generate embedded
Linux systems through cross-compilation.

The documentation can be found in docs/manual. You can generate a text
document with 'make manual-text' and read output/docs/manual/manual.text.
Online documentation can be found at http://buildroot.org/docs.html

To build and use the buildroot stuff, do the following:

1) run 'make menuconfig'
2) select the target architecture and the packages you wish to compile
3) run 'make'
4) wait while it compiles
5) find the kernel, bootloader, root filesystem, etc. in output/images

You do not need to be root to build or run buildroot.  Have fun!

Buildroot comes with a basic configuration for a number of boards. Run
'make list-defconfigs' to view the list of provided configurations.

Please feed suggestions, bug reports, insults, and bribes back to the
buildroot mailing list: buildroot@buildroot.org
You can also find us on #buildroot on Freenode IRC.