Go to file
Thomas Petazzoni 1edf9fc194 efivar: fix build with old gcc versions
The efivar build process starts by building one tool for the host,
which is needed for the rest of the build. This tool currently fails
to build with old gcc versions because the gcc.specs used by efivar
specifies -std=gnu11. To address this, this patch:

 - passes 'gcc_flags=' to the host build, so that the custom gcc specs
   are not passed. They are in practice not needed for the build of
   the simple makeguids host utility.

 - passes -std=gnu99 instead of -std=c99 in the build of host
   makeguids, because the source code uses anonymous structs and
   unions, which requires std=gnu99 and not just std=c99

In addition, the build by default assumes that the target toolchain is
LTO capable, and that therefore you can call gcc-ar, gcc-nm and
gcc-ranlib. This fails short when the target toolchain is for example
gcc 4.7. To address this, we explicitly specify AR, NM and RANLIB to
be used, but pass them as make options instead of in the environment,
in order to override the values specified in the package Makefile.

Fixes:

   http://autobuild.buildroot.net/results/fe40c1d139ba8ddeef3dafd5c1818a946f014d7c/

Cc: Erico Nunes <nunes.erico@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-06-25 15:29:49 +02:00
arch m68k: remove BR2_GCC_TARGET_ARCH 2016-06-07 13:11:59 +02:00
board configs/toradex_apalis_imx6_defconfig: new board 2016-06-15 23:23:41 +02:00
boot barebox: bump to version 2016.06.0 2016-06-23 21:07:17 +02:00
configs configs/toradex_apalis_imx6_defconfig: new board 2016-06-15 23:23:41 +02:00
docs scanpypi: new utility 2016-06-11 16:13:31 +02:00
fs fs: add sha-bang to fakeroot script 2016-06-07 23:13:36 +02:00
linux linux: allow the selection of the architecture's default configuration 2016-06-18 15:05:15 +02:00
package efivar: fix build with old gcc versions 2016-06-25 15:29:49 +02:00
support legal-info: explicitly state how patches are licensed 2016-06-24 16:23:14 +02:00
system system: add help entry to "none" init system 2016-05-28 10:58:34 +02:00
toolchain toolchain-external: hook for Codescape toolchain side-by-side layout 2016-06-07 23:41:36 +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 2016-05-31 23:52:36 +02:00
Config.in Config.in: Add BR2_DEPRECATED_SINCE_2016_08 2016-06-18 15:36:10 +02:00
Config.in.legacy gst1-plugins-bad: cleanup of build options 2016-06-25 15:26:07 +02:00
COPYING COPYING: add exception about patch licensing 2016-02-26 19:50:13 +01:00
Makefile core/legal-info: generate a hash of all saved files 2016-06-24 16:56:50 +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