From: Masahiro Yamada Date: Tue, 22 Apr 2014 10:32:11 +0900 Subject: [U-Boot] [PATCH] Revert "build: Use filechk rules to create and update u-boot.lds" In-Reply-To: <53552CC6.8090405@oracle.com> References: <1398047587-20247-1-git-send-email-yamada.m@jp.panasonic.com> <53552CC6.8090405@oracle.com> Message-ID: <20140422103211.FC59.AA925319@jp.panasonic.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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