Compiling barebox for newest Yocto/meta-freescale

Jan Lübbe jlu at pengutronix.de
Tue Jun 23 01:12:56 PDT 2015


Hi,

On Mo, 2015-06-22 at 17:18 +0200, György Kövesdi wrote:
> I have a i.MX6 based board and want to compile barebox using Yocto.
> It was successful so far, but something is changed in the gcc behaviour.
> The first thing is that some arch-specific parameters must be passed, or 
> else the compilation fails. I could fix it, but there is another problem.

I had to change
-       oe_runmake
+       oe_runmake CC="$CC"
for recent yocto versions. What was your fix?

> The option "-mfloat-abi=soft" is used in barebox compilation, which 
> seems not supported by gcc. Adding "-mfloat-abi=hard" is not enough, the 
> original "-mfloat-abi=soft" should be removed. Unfortunately, i could 
> not find where this option is added and how to remove it.
> Can anybody help me to fix it?

Which yocto and gcc version are you using? Could you show us the actual
error messages and yocto recipe?

Regards,
Jan
-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |




More information about the barebox mailing list