
Hi Hua,
As far as I tested, the problem you mentioned did not happen.
On Thu, 10 Apr 2014 14:59:33 +0800 Hua Yanghao huayanghao@gmail.com wrote:
Hi, When doing make for coreboot-x86, in arch/x86/lib/Makefile it re-generates libgcc.a from the original toolchain libgcc.a and did some patching for certain libgcc functions. And this seems having some issues when you try to do incremental compilation.
Steps to reproduce the issue:
- Setup toolchain
- make coreboot-x86 # sucess for the first time
Strange. "make coreboot-x86" is not supported anymore.
Now, we must do "make coreboot-x86_config all" instead.
- make # second make fails with message:
make[1]: Entering directory `/home/hua/git/u-boot/arch/x86/lib' make[1]: *** No rule to make target `.depend', needed by `built-in.o'. Stop. make[1]: Leaving directory `/home/hua/git/u-boot/arch/x86/lib'
Strange again.
".depend" files are not used any more. (They were used in the old build system prior to Kbuild.)
Can anyone give some hints in how to solve this issue?
Which version are you using?
I guess you are not using the latest version in the git repository.
The most recommended solution is to use the latest version.
Best Regards Masahiro Yamada