From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Wed, 3 Feb 2016 13:18:35 +0100 Subject: [U-Boot] [PATCH 3/5] kbuild: use $(call cmd, ) rather than $(call if_changed, ) where possible In-Reply-To: <1454501114-4346-4-git-send-email-yamada.masahiro@socionext.com> References: <1454501114-4346-1-git-send-email-yamada.masahiro@socionext.com> <1454501114-4346-4-git-send-email-yamada.masahiro@socionext.com> Message-ID: <20160203131835.0bdba82e@lilith> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Masahiro, On Wed, 3 Feb 2016 21:05:12 +0900, Masahiro Yamada wrote: > These build commands are constant (mostly, just concatenating images, > or just copying). No need to use $(call if_changed,...) for them. I am a total kbuild ignorant, so I'm probably asking a stupid question, but hey. What are the exact semantics of $(call if_changed,)? I thought it meant "call the function if any of the dependencies has changed. If it does, then won't this patch make the corresponding action systematic, causing unneeded concatenations or copies? Amicalement, -- Albert.