Go to file
Thomas Petazzoni f71ad71f24 gdb: fix simulator build failures
Following reports from me of build failures of the GDB simulator for the
Blackfin architecture, Waldemar cooked a
patch (0005-fix-sim-compile.patch) that removes the typedef of SIM_CPU,
because there was a redefinition of this typedef for Blackfin. This was
not causing an issue with recent compilers as redefining the same
typedef is valid with recent compilers, but was causing build failures
with gcc 4.4.x.

However, by removing the common definition of SIM_CPU, this patch broke
the build of the GDB simulator on other architectures, which did not had
an architecture-specific redefinition of SIM_CPU (unlike Blackfin).

The crux of the problem is in a commit from Mike Frysinger, that tries
to refactor the SIM_CPU definition into a common one. Except that it
leaves a redefinition of it for Blackfin. Removing this second
definition however doesn't easily work, due to include ordering
issues. The easiest solution is to simply revert the patch from Mike
Frysinger. This allows to fix the build for all architectures and all
compiler versions.

Fixes:

  http://autobuild.buildroot.net/results/3b82c44ee853fab0e0c63881f0705bb659412917/
  http://autobuild.buildroot.net/results/dafbb93ab38a4285ce42436219d552cceb14828b/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-08-05 00:16:22 +02:00
arch
board configs: imx6ulpico: Add Wifi support 2016-08-01 22:11:05 +02:00
boot grub2: fix build with BR2_STRIP_none 2016-07-31 20:19:40 +02:00
configs configs: nitrogen*: bump kernel and u-boot version for m4 support 2016-08-03 22:28:17 +02:00
docs docs/manual: use TARGET_CONFIGURE_OPTS in generic-package tutorial 2016-07-25 22:49:04 +02:00
fs
linux linux: bump default to version 4.7 2016-07-25 22:14:06 +02:00
package gdb: fix simulator build failures 2016-08-05 00:16:22 +02:00
support support/download/git: Fix compatibility issue with git older than 1.8.4 2016-07-28 22:02:13 +02:00
system system: move locale purging options to the "System configuration" menu 2016-08-03 21:17:21 +02:00
toolchain system: move locale purging options to the "System configuration" menu 2016-08-03 21:17:21 +02:00
.defconfig
.gitignore
CHANGES
Config.in Config.in: fix typo 2016-07-31 23:14:33 +02:00
Config.in.legacy
COPYING
Makefile
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