f71ad71f24
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> |
||
---|---|---|
arch | ||
board | ||
boot | ||
configs | ||
docs | ||
fs | ||
linux | ||
package | ||
support | ||
system | ||
toolchain | ||
.defconfig | ||
.gitignore | ||
CHANGES | ||
Config.in | ||
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