Go to file
Baruch Siach 69ced96355 musl: workaround kernel if_ether.h header conflict
Add a patch that defines _LINUX_IF_ETHER_H in netinet/if_ether.h to avoid the
conflicting kernel if_ether.h.

Other musl distros (Alpine, Sabotage, Gentoo) patch[1] the kernel headers
instead. This is not practical in Buildroot, since we allow the user to choose
the kernel version.

This only fixes the normal case of including linux/if_ether.h (directly or
indirectly) after netinet/if_ether.h.

Fixes (tcpreplay):
http://autobuild.buildroot.net/results/a65/a65b27f9e288f94f041ced64313dbf55af47bf36/

[1] https://cgit.gentoo.org/proj/musl.git/diff/sys-kernel/linux-headers/files/libc-compat.h-prevent-redefinition-of-struct-ethhdr.patch?id=8eddda8072add075ebf56cf6d288bc1450d6b5f8

Cc: Rich Felker <dalias@aerifal.cx>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-12-17 15:26:36 +01:00
arch arch/Config.in.arm: support thumb2 instructions for ARMv8 in 32bit mode 2016-12-08 22:32:17 +01:00
board board/orangepi: drop redundant files 2016-12-15 17:24:45 +01:00
boot Merge branch 'next' 2016-12-01 22:29:56 +01:00
configs configs/orangepi: bump kernel and u-boot versions 2016-12-15 22:00:07 +01:00
docs doc/manual: document the new waf-package infra variables 2016-12-11 18:03:59 +01:00
fs fs: set packages permissions even with no system device tables 2016-12-14 23:45:48 +01:00
linux linux: bump default to version 4.9 2016-12-12 00:00:58 +01:00
package musl: workaround kernel if_ether.h header conflict 2016-12-17 15:26:36 +01:00
support pkg-autotools: generic configure fix for powerpc64 2016-12-05 22:51:17 +01:00
system system: fix typo 2016-10-13 08:06:11 +02:00
toolchain toolchain: extend musl workaround for recent kernels 2016-12-17 15:26:11 +01:00
.defconfig arch: remove support for sh64 2016-09-08 22:15:15 +02:00
.gitignore
CHANGES Update for 2016.11 2016-11-30 23:16:22 +01:00
Config.in core: add a kconfig option to require an UTF8 locale on the host 2016-12-04 15:38:06 +01:00
Config.in.legacy toolchain-external: remove musl-cross prebuilt toolchain 2016-12-17 14:21:00 +01:00
COPYING COPYING: add exception about patch licensing 2016-02-26 19:50:13 +01:00
DEVELOPERS DEVELOPERS: add entry for mariadb 2016-12-17 15:01:07 +01:00
Makefile Makefile: move SED definition into the main Makefile 2016-12-06 20:40:10 +01:00
Makefile.legacy Remove BR2_DEPRECATED 2016-10-15 23:14:45 +02:00
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