From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cantor2.suse.de ([195.135.220.15]:37450 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751798AbbCMKAk (ORCPT ); Fri, 13 Mar 2015 06:00:40 -0400 Message-ID: <5502B546.5010806@suse.cz> Date: Fri, 13 Mar 2015 11:00:38 +0100 From: Michal Marek MIME-Version: 1.0 Subject: Re: [RFC PATCH] Don't reset timestamps in include/generated if not needed References: <15447.1425431256@turing-police.cc.vt.edu> <20150311100101.GA30787@sepie.suse.cz> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: Masahiro Yamada Cc: Linus Torvalds , Valdis Kletnieks , Andrew Morton , Linux Kernel Mailing List , Linux Kbuild mailing list Dne 13.3.2015 v 05:59 Masahiro Yamada napsal(a): > 2015-03-11 19:01 GMT+09:00 Michal Marek : >> We already have it and it is called "filechk." Valdis, can you check if >> the below patch works equally well for you? > > This looks almost nice, but a few comments below. Thanks for the review! >> $(obj)/$(bounds-file): kernel/bounds.s Kbuild > > You are checking the resulting file content, > so the dependency on "Kbuild" is not necessary. > > Instead, you need to add "FORCE" so that this rule is always invoked. Good point. >> $(Q)mkdir -p $(dir $@) > > You can drop this line because filechk automatically creates the > output directory. Likewise. Michal