Go to file
Vicente Olivert Riera 9119c1e658 micropython: fix build for MIPS64 n32
This patch applies an upstream patch to fix a compile error like this
one:

modffi.c: In function 'ffifunc_call':
modffi.c:358:25: error: cast from pointer to integer of different size
[-Werror=pointer-to-int-cast]
             values[i] = (ffi_arg)a;

This error can be highlighted when building micropython for MIPS64 n32
because ffi_arg is 64-bit wide and the pointers on MIPS64 n32 are 32-bit
wide, so it's trying to case an integer to a pointer (or vice versa) of
a different size. We should cast first the pointer (or the integer) to a
pointer sized integer (intptr_t) to fix that problem.

This patch was merged upstream as a result of this pull request:

  https://github.com/micropython/micropython/pull/1471

Fixes:

  http://autobuild.buildroot.net/results/e22/e2253de3f96e9a53e75b4cecaf56c1df2950803f/

[Thomas: use a single assignement for MICROPYTHON_PATCH.]

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-09-23 23:10:30 +02:00
arch arch/arm: add missing arm1136j-s variant 2015-08-24 00:43:12 +02:00
board configs: bump ARC axs10x Linux kernel and headers to 4.2 release 2015-09-20 15:01:20 +02:00
boot grub2: pass target NM, OBJCOPY and STRIP 2015-09-20 14:52:19 +02:00
configs configs: bump ARC axs10x Linux kernel and headers to 4.2 release 2015-09-20 15:01:20 +02:00
docs docs/manual: add useful tips on patch versioning and patch submission 2015-09-19 15:57:15 +02:00
fs fs: iso9660: change boot menu entry text 2015-08-18 21:42:51 +02:00
linux linux: bump default to version 4.2.1 2015-09-22 15:42:47 +02:00
package micropython: fix build for MIPS64 n32 2015-09-23 23:10:30 +02:00
support scancpan: fix detection of native module 2015-09-20 15:14:10 +02:00
system system: make systemd's kernel headers comment fit 2015-09-10 22:06:55 +02:00
toolchain toolchain-external/CodeSourcery MIPS 2015.05: fix lib-names headers 2015-09-13 22:22:36 +02:00
.defconfig
.gitignore
CHANGES Update for 2015.08 2015-08-31 23:06:58 +02:00
Config.in blackbox: remove deprecated package 2015-09-13 23:28:42 +02:00
Config.in.legacy blackbox: remove deprecated package 2015-09-13 23:28:42 +02:00
COPYING
Makefile target-finalize: remove extra /usr/libexec/{*.a,*.la} files 2015-09-19 14:59:46 +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.