Commit Graph

9 Commits

Author SHA1 Message Date
Jonathan Liu
0c6af07690 linux-sunxi: fix compiling with GCC 6
Fixes the following compile error with GCC 6:
[...]/kernel-source/include/linux/compiler-gcc.h:103:30: fatal error: linux/compiler-gcc6.h: No such file or directory

Signed-off-by: Jonathan Liu <net147@gmail.com>
2016-09-25 21:53:32 +10:00
Jens Lucius
07c07fcd78 use RDEPENDS instead of DEPENDS for sunxi-kernel
Signed-off-by: Jens Lucius info@jenslucius.com
2015-11-21 18:11:46 +01:00
Jens Lucius
b05f2dbb8b Remove image dependency on fex for mainline
Remove image dependency on building fex files which are not needed
any more for mainline kernel (replaced by devicetree).
Add dependency for fex to linux-sunxi kernel.
Also update to latest sunxi-linux revision.

Signed-off-by: Jens Lucius <info@jenslucius.com>
2015-11-19 16:58:24 +01:00
Trevor Woerner
888ddfd531 more gcc5 fixes
gcc5 is pickier about inline code in header files.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2015-09-25 22:46:33 -04:00
Trevor Woerner
72ea1fe7df linux-sunxi_3.4: bump kernel version
Update to the latest linux-sunxi kernel on the sunxi-3.4 branch.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2015-09-25 22:46:33 -04:00
Trevor Woerner
43a6a5ecc8 linux-sunxi_3.4.bb: allow rm to fail
When building a second time, allow the 'rm' command to fail silently since
these files may have been removed from a failed previous build.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2015-09-23 14:15:48 -04:00
Trevor Woerner
08c5a4bfb8 linux-sunxi_3.4.bb: add line continuation
ERROR: ParseError at meta-sunxi/recipes-kernel/linux/linux-sunxi_3.4.bb:17:
       unparsed line: SRC_URI

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2015-09-23 11:24:05 -04:00
Jens Lucius
062c1477cf linux-sunxi: add patches for gcc5
The linux-sunxi 3.4 kernel could not be compiled with gcc5 (which
is standard in master now). Add two patches to make it compile again.

- Add missing compiler-gcc5.h
- Fix "multiple definition of `return_address'" errors

Open issue: All realtek wifi drivers fail to compile. Because of this
keep info to switch back to gcc4 in readme.

Signed-off-by: Jens Lucius <info@jenslucius.com>
2015-09-23 12:06:26 +02:00
Jens Lucius
8107abbdee kernel: fix missing device tree, switch to mainline
- Add back missing device tree definitions in machine files
- Switch to mainline kernel by default
- Add description to switch back to sunxi versions in README

Signed-off-by: Jens Lucius <info@jenslucius.com>
2015-06-16 16:33:57 +02:00