[U-Boot] build fail due to dependence error

Kever Yang kever.yang at rock-chips.com
Mon Jul 2 07:54:20 UTC 2018


Hi Simon,


On 06/30/2018 12:19 PM, Simon Glass wrote:
> Hi,
>
> On 28 June 2018 at 01:41, Dr. Philipp Tomsich
> <philipp.tomsich at theobroma-systems.com> wrote:
>> Kever,
>>
>> is the link for ‘asm’ set up correctly?
>>
>> Thanks,
>> Philipp.
>>
>> On 28 Jun 2018, at 10:38, Kever Yang <kever.yang at rock-chips.com> wrote:
>>
>> Hi Simon,
>>
>>         Do you have any idea about this error?
>>
>>
>> CC      lib/asm-offsets.s
>>   CC      arch/arm/lib/asm-offsets.s
>> fixdep: error opening config file: arch/arm/include/asm/arch/hardware.h: No
>> such file or directory
>> Kbuild:64: recipe for target 'arch/arm/lib/asm-offsets.s' failed
>> make[1]: *** [arch/arm/lib/asm-offsets.s] Error 2
>> make[1]: *** 正在等待未完成的任务....
>>   CHK     include/config.h
>> Makefile:1340: recipe for target 'prepare0' failed
>>
>> Thanks,
>> - Kever
>>
>> On 06/01/2018 05:59 PM, Kever Yang wrote:
>>
>> Hi Guys,
>>
>>      I met below error from time to time when build U-Boot project.
>>
>> fixdep: error opening config file: arch/arm/include/asm/arch/hardware.h: No
>> such file or directory
>>
>>     The folder 'arch/arm/include/asm/arch' is a link for
>> 'arch/arm/include/asm/arch-rockchip',
>>
>> which is dynamic generate by build system, I thinks there should be some
>> dependency issue?
>>
>>     How to fix this kind of issue?
> I am not sure what is going on there. I don't see this.
>
> Are you using 'make distclean' or 'make mrproper' on your object tree
> every now and then?

This is happen sometimes in our Jenkins verify, It will gone when I
rebase the patch(re-build without any change),
we do 'make distclean' every time before a new build.

Thanks,
- Kever
> Regards,
> Simon
>




More information about the U-Boot mailing list