Go to file
Yann E. MORIN c2a06accad package/bridge-utils: fix headers path
Currently, bridge-utils wants to grap the headers from the linux-headers
package, so we point it directly there, as has been the case since we
first added bridge-utils in 2003 (c8eea31d3f), and then further refined
in 2005 (178a317d26) which is the first moment we pointed to the linux-
headers directory.

However, ther are two things wrong with that.

First, the headers are not directly in $(LINUX_HEADERS_DIR). Instead,
they are in a sub-directory thereof. So, we could not have found them
the way we are doing now.

Second, this definitely does not work when using an external toolchain,
because there is not linux-headers package enabled then.

Yet, against all odds, bridge-utils has valiantly deflected all rocks
thrown its way, day-in day-out building without any issue in every
autobuilders it's been confronted with. Good boy, good boy. :-)

And indeed, it turns out that the required headers are easily found from
within the sysroot of the toolchain. Wonders! :-)

But there's still a gotcha: the default search path is still a hard
coded path pointing to the installed kernel source tree on the host.

So, we still have to pass this option, but we can simply point to the
sysroot.

[Peter: point to sysroot instead of non-existing directory]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2017-10-03 14:37:22 +02:00
arch arc/bfin: remove 60x cores 2017-10-02 21:45:04 +02:00
board raspberrypi: post-image.sh add new gpu_mem option 2017-09-27 22:08:03 +02:00
boot boot/grub: remove 2017-09-23 20:29:37 +02:00
configs configs/raspberrypi*: bump kernel version 2017-10-01 23:22:14 +02:00
docs docs/website: update for 2017.02.6 2017-09-24 22:47:01 +02:00
fs fs/iso9660: remove support for grub 2017-09-23 20:23:12 +02:00
linux wireguard: add new package 2017-10-02 22:59:26 +02:00
package package/bridge-utils: fix headers path 2017-10-03 14:37:22 +02:00
support support/check-rpath: recognise PIE 2017-09-27 00:13:55 +02:00
system skeleton: Rename skeleton-sysv to skeleton-init-sysv 2017-08-14 21:52:45 +02:00
toolchain arch/bfin: internal backend not suitable for some cores 2017-10-02 21:41:53 +02:00
utils perl: bump to version 5.26.1 2017-09-28 22:04:48 +02:00
.defconfig arch: remove support for sh64 2016-09-08 22:15:15 +02:00
.gitignore
.gitlab-ci.yml .gitlab-ci.yml: Update imx6-sabresd defconfig entries 2017-09-28 22:05:41 +02:00
.gitlab-ci.yml.in .gitlab-ci.yml: use large timeouts for runtime tests 2017-08-10 10:08:55 +02:00
CHANGES Update for 2017.02.6 2017-09-24 22:54:12 +02:00
Config.in Config.in: rename xbmc -> kodi 2017-10-01 23:23:43 +02:00
Config.in.legacy package/openobex: bump version to 1.7.2 2017-09-24 15:21:15 +02:00
COPYING
DEVELOPERS dump1090: new package 2017-10-01 23:15:52 +02:00
Makefile Kickoff 2017.11 cycle 2017-09-02 15:14:27 +02: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