diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2014-11-12 08:33:24 -0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-11-20 14:06:28 +0000 |
commit | 50437f9c187f1a884825a8d1ec12da47a5e58670 (patch) | |
tree | 11c22aaab185200c6871b2bbbf435abca6766afd /.gitignore | |
parent | 23d8a4d64e9ff126d6460a69e6d086b1c86e87a9 (diff) | |
download | openembedded-core-50437f9c187f1a884825a8d1ec12da47a5e58670.tar.gz openembedded-core-50437f9c187f1a884825a8d1ec12da47a5e58670.tar.bz2 openembedded-core-50437f9c187f1a884825a8d1ec12da47a5e58670.zip |
toolchain-scripts.bbclass: Export KCFLAGS to ensure sysroot is provided
When building the U-Boot the lack of a proper sysroot can trigger
following error:
,----
| arm-poky-linux-gnueabi-ld.bfd: cannot find -lgcc
| make[2]: *** [examples/standalone/hello_world] Error 1
| make[1]: *** [examples/standalone] Error 2
| make: *** [examples] Error 2
`----
Guillaume Fournier has posted a very complete analysis of the
problem[1].
1. https://lists.yoctoproject.org/pipermail/meta-freescale/2014-November/011270.html
The use of KCFLAGS makes the build of U-Boot work out of box, now that
it uses the Linux kernel build system.
Reported-by: Guillaume Fournier <gfournier@brioconcept.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions