Hello Radek, On Wed, Nov 4, 2015 at 2:06 PM, Radek Dostal <[email protected]> wrote: > ${TOOLCHAIN_OPTIONS} does not contain some important flags such as > "-march=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8". It only > specifies sysroot as mentioned in commit 923eb657 "u-boot.inc: update > linker arguments to pass --sysroot arg" > > Fixes bug: u-boot 2014.04 build breaks with error: > "fatal error: gnu/stubs-soft.h: No such file or directory" > when building with hard float compiler as compiler does not receive > flag "-mfloat-abi=hard" > > Before this patch only gcc compiler could be used due to CC explicitly > being set to gcc. > > Signed-off-by: Radek Dostal <[email protected]> > Acked-by: Carlos Rafael Giani <[email protected]>
Nack! The U-Boot is close to the Linux kernel regarding the use of the compiler and does a huge set of handling internally to properly pass options depending on the SoC, arch and others. This build error has been fixed in new U-Boot releases and if the board required an old version (and cannot be updated) the fix should be done on the recipe and not on the common file as it can change, behind the scenes, what is in use for several recipes without notice. -- Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
