From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?QW5kcmVhcyBCaWXDn21hbm4=?= Date: Wed, 09 Apr 2014 13:20:09 +0200 Subject: [U-Boot] [PATCH] kbuild: fix a bug in regeneration of linker scripts In-Reply-To: <1397041843-23668-1-git-send-email-yamada.m@jp.panasonic.com> References: <1397041843-23668-1-git-send-email-yamada.m@jp.panasonic.com> Message-ID: <53452CE9.2070407@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 04/09/2014 01:10 PM, Masahiro Yamada wrote: > In some use cases, SPL linker script was not updated even when > it should be. > > For instance, > > $ make tricoder_config all > [ build complete ] > ... modify include/configs/tricoder.h > $ make > > spl/u-boot-spl.lds should be updated in this case, but it wasn't. > > To fix this problem, linker scripts generation should be handled > by $(call if_changed_dep,...) rather than by $(call if_changed,...). > > Signed-off-by: Masahiro Yamada > Reported-by: Andreas Bie?mann Tested-by: Andreas Bie?mann