From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: Re: dead qemu make targets in toplevel Makefile Date: Tue, 7 Oct 2014 15:26:11 +0200 Message-ID: <20141007132611.GA9173@aepfle.de> References: <20141007130727.GA5984@aepfle.de> <1412687768.4972.22.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1412687768.4972.22.camel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Tue, Oct 07, Ian Campbell wrote: > It looks like my build scripts use "make -C tools $FOO-force-update", so > removing them would be a problem for me personally. The dead code is in the toplevel Makefile, the command above uses tools/Makefile. > On the other hand since they are only for use by end users and not > dependencies of any other rule I suppose we could just nuke the > conditionals but leave the rules themselves? Yes, but shouldnt this be easier like "make update-qemu-trad" which downloads and forces the tree(s) to be in a given state? And while we are at it, I find something like "make clean-qemu-trad" useful. It should check if the subdir is a git tree, and do either a "git clean -dfx" or "make clean". And perhaps all that should be in two easy targets like 'update-subprj' and 'clean-subprj'. There is likely a better string than "subprj". Olaf