Go to file
Thomas Petazzoni 9a521546ed libnspr: use __nios2__ instead of nios2
Our patch adding nios2 support to libnspr uses the built-in compiler
define "nios2". However, this doesn't work with C++11, where only the
__nios2__ define is available. Since __nios2__ is always available,
use that instead:

$ ./output/host/usr/bin/nios2-linux-gcc -dM -E - < /dev/null | grep -E "( nios2 | __nios2__ )"

$ ./output/host/usr/bin/nios2-linux-gcc -std=c++11 -x c++ -dM -E - < /dev/null | grep -E "( nios2 | __nios2__ )"

Patch 0001-nios2.patch is therefore changed to use __nios2__ (the rest
of the change noise is due to using quilt to format the patch). Patch
0002-microblaze.patch is simply updated to apply correctly on top of
the modified 0001-nios2.patch.

This fixes the build of the poppler library on nios2. It is built with
-std=c++11, and includes nspr headers (through nss), causing a build
issue.

Fixes:

  http://autobuild.buildroot.net/results/9fee58076157d814616fa0da51afde8da21a8973/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-04-06 16:13:52 +02:00
arch arch, linux, package: remove whitespaces 2017-03-29 23:30:37 +02:00
board beaglebone: add DT for BeagleBone Green 2017-04-05 22:25:40 +02:00
boot Add out-of-source U-Boot device tree support 2017-04-05 22:29:23 +02:00
configs beaglebone: add DT for BeagleBone Green 2017-04-05 22:25:40 +02:00
docs docs/website: update for 2017.02.1 2017-04-05 23:22:18 +02:00
fs
linux linux: bump default version to 4.10.8 2017-04-02 23:46:38 +02:00
package libnspr: use __nios2__ instead of nios2 2017-04-06 16:13:52 +02:00
support support/scripts: add generic genimage script 2017-04-01 15:50:22 +02:00
system system: do not overwrite /bin/sh Busybox symlink 2017-03-29 23:28:58 +02:00
toolchain toolchain: copy_toolchain_lib_root: copy symlinks instead of recreating them 2017-04-05 21:33:43 +02:00
.defconfig
.gitignore
.gitlab-ci.yml
.gitlab-ci.yml.in
CHANGES Update for 2017.02.1 2017-04-05 23:22:18 +02:00
Config.in
Config.in.legacy portmap: remove package as it is obsolete 2017-04-03 22:43:00 +02:00
COPYING
DEVELOPERS arp-scan: new package 2017-04-05 23:11:26 +02:00
Makefile Makefile: use SPDX short identifier for Buildroot license 2017-04-01 15:35:08 +02:00
Makefile.legacy
README

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.

If you would like to contribute patches, please read
https://buildroot.org/manual.html#submitting-patches