[U-Boot] U-Boot build error when switch different SoC without clean

Heinrich Schuchardt xypron.glpk at gmx.de
Mon Jul 22 06:10:22 UTC 2019


On 7/22/19 6:47 AM, Bin Meng wrote:
> On Mon, Jul 22, 2019 at 11:10 AM Kever Yang <kever.yang at rock-chips.com> wrote:
>>
>> Hi,
>>
>>       I always met below error when build latest U-Boot for different board
>>
>> and defconfig without "make clean", anyone know how to fix this?
>>
>>     LD      lib/efi_loader/helloworld_efi.so
>> lib/efi_loader/efi_crt0.o: file not recognized: File format not recognized
>>     CC      lib/strto.o
>> scripts/Makefile.lib:394: recipe for target
>> 'lib/efi_loader/helloworld_efi.so' failed
>> make[2]: *** [lib/efi_loader/helloworld_efi.so] Error 1
>> scripts/Makefile.build:432: recipe for target 'lib/efi_loader' failed
>> make[1]: *** [lib/efi_loader] Error 2
>>
>
> +Heinrich who may have some idea.
>
> Regards,
> Bin
>
Hello Kever,

could you, please, test if

[PATCH 1/1] efi_loader: always rebuild efi_crt0.o
https://lists.denx.de/pipermail/u-boot/2019-July/377831.html

fixes the reported problem for you.

Best regards

Heinrich


More information about the U-Boot mailing list