Go to file
Mauro Condarelli 4852f05907 libffi: add patch to fix MIPS support
Building Python 3.x on MIPS with musl fails because the libffi code
uses a "#ifdef linux" test to decide if we're building on Linux or
not. When building with -std=c99, "linux" is not defined, so instead
of including <asm/sgidefs.h>, libffi's code tries to include
<sgidefs.h>, which doesn't exist on musl.

The right fix is to use __linux__, which is POSIX compliant, and
therefore defined even when -std=c99 is used.

Note that glibc and uClibc were not affected because they do provide a
<sgidefs.h> header in addition to the <asm/sgidefs.h> one.

Signed-off-by: Mauro Condarelli <mc5686@mclink.it>
[Thomas: reformat patch with Git, add a better commit log and description.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-10-22 15:56:20 +02:00
arch
board board: Add Bananapi M1 support 2017-10-21 22:37:28 +02:00
boot arm-trusted-firmware: bump to version 1.4 2017-10-12 22:03:47 +02:00
configs configs/pc: bump kernel version 2017-10-22 12:25:16 +02:00
docs manual: clarify license file hash check during legal-info target 2017-10-17 23:36:08 +02:00
fs
linux linux: Deselect all unconfigured compression options 2017-10-21 20:20:45 +02:00
package libffi: add patch to fix MIPS support 2017-10-22 15:56:20 +02:00
support dependencies: always use HOSTCC_NOCACHE for DEPENDENCIES_HOST_PREREQ 2017-10-22 15:42:26 +02:00
system
toolchain toolchain: add glibc support for ARCv2 2017-10-10 23:13:34 +02:00
utils
.defconfig
.flake8
.gitignore
.gitlab-ci.yml board: Add Bananapi M1 support 2017-10-21 22:37:28 +02:00
.gitlab-ci.yml.in
CHANGES
Config.in Config.in: fix help comment for gcc optimization 2017-10-21 10:12:06 +02:00
Config.in.legacy policycoreutils: split packages and bump to 2.7 2017-10-18 23:24:13 +02:00
COPYING
DEVELOPERS board: Add Bananapi M1 support 2017-10-21 22:37:28 +02:00
Makefile Add DEPENDENCIES_HOST_PREREQ to the list of packages 2017-10-22 15:42:26 +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