[coreboot] v3: missing dependencies

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Sun Mar 2 00:19:21 CET 2008

On 01.03.2008 19:52, Carl-Daniel Hailfinger wrote:
> I finally found out why building one target, running menuconfig to 
> change the target and recompiling fails unless you make clean in between:
> statictree.c and statictree.h are missing dependencies on .config or its 
> derivatives. Ouch. That's not totally bad for statictree.c because it 
> sits next to the dts, but for statictree.h.
> So if you configure for qemu, compile, reconfigure for alix1c, compile 
> again, make thinks statictree.h is not stale because it is newer than 
> the alix1c dts. Boom.
> Two possible fixes:
> - move statictree.h to the mainboard dir next to statictree.c.
> - have statictree.h depend on .config or derivatives.
> I like the first option a lot better.

Actually, we may need both.

There is another related dependency bug in our makefiles: Copying a 
.config in place is not sufficient to run make. It still needs "make 
oldconfig" or any other "make *config".

> Opinions?




More information about the coreboot mailing list