Buildroot fork.
Go to file
Geoff Levand 60c5c96ae1 package/go: Build host tools with host CC
The go build system doesn't have the notion of cross compiling, but just the
notion of architecture.  When the host and target architectures are different
it expects to be given a target cross compiler in CC_FOR_TARGET.  When the
architectures are the same it will use CC_FOR_TARGET for both host and target
compilation.  To work around this limitation build and install a set of
compiler and tool binaries built with CC_FOR_TARGET set to the host compiler.
Also, the go build system is not compatible with ccache, so use
HOSTCC_NOCCACHE.  See https://github.com/golang/go/issues/11685.

Fixes build errors like these:

  host/usr/bin/go: No such file or directory

  http://autobuild.buildroot.net/results/6664189a6f3a815978e8d0a1d7ef408ca47e2874/

Signed-off-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-05-26 21:03:53 +02:00
arch toolchain: add coldfire support 2016-04-30 18:50:46 +02:00
board imx6ulevk: readme: Update the rootfs type to ext4 2016-05-11 22:22:02 +02:00
boot boot/uboot: fix missing host-openssl for i.MX28 target 2016-05-25 17:09:22 +02:00
configs m68k: fix open issues with qemu coldfire 2016-05-11 15:27:15 +02:00
docs docs: Fixed syntax error in makedev-syntax example. 2016-05-23 22:44:22 +02:00
fs fs/common: fix typo in comments 2016-05-08 15:34:52 +02:00
linux linux: Bump default to version 4.5.4 2016-05-11 22:21:29 +02:00
package package/go: Build host tools with host CC 2016-05-26 21:03:53 +02:00
support support/scripts: fix graph-build-time help text 2016-05-24 23:26:25 +02:00
system skeleton: Recreate /var/run symlink 2016-02-11 23:20:38 +01:00
toolchain toolchain-external: correct hash value for Linaro AArch64 toolchain source 2016-05-24 17:32:47 +02:00
.defconfig arch/x86: remove support for i386 2016-04-18 23:38:34 +02:00
.gitignore update gitignore 2013-05-04 12:41:55 +02:00
CHANGES Update for 2016.05-rc2 2016-05-17 16:11:24 +02:00
Config.in toolchain: update paranoid unsafe path comment 2016-05-15 19:05:56 +02:00
Config.in.legacy openvpn: remove polarssl crypto backend option 2016-05-15 22:41:24 +02:00
COPYING COPYING: add exception about patch licensing 2016-02-26 19:50:13 +01:00
Makefile Update for 2016.05-rc2 2016-05-17 16:11:24 +02:00
Makefile.legacy Makefile.legacy: fix recursive invocation with BUILDROOT_DL_DIR and _CONFIG 2014-02-11 08:14:57 +01:00
README README: add reference to submitting-patches 2016-02-01 19:16:08 +01:00

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