[U-Boot] [PATCH] Revert "build: Use filechk rules to create and update u-boot.lds"

Masahiro Yamada yamada.m at jp.panasonic.com
Tue Apr 22 03:32:11 CEST 2014


Hi Jon,


>  > What is worse is
>  > $(call filechk) is too strong to fix the problem and looks weird.
> 
> I'm sure I don't understand that critique at all.  "Looks weird"?


The linker script is processed by C-preprocessor.
It means the dependency of included files should be tracked
to decide if the linker script should be updated or not.
This is the same as the rule of  generationg objects.
( *.c -> *.o  or  *.S -> *.o)

$(call filechk ) does not do this dependency tracking
and always runs the preprocessor.

The why it looks weird to me.



Best Regards
Masahiro Yamada



More information about the U-Boot mailing list