From patchwork Tue May 28 11:49:43 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cyrill Gorcunov X-Patchwork-Id: 2624171 Return-Path: X-Original-To: patchwork-kvm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id B264D40077 for ; Tue, 28 May 2013 11:51:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933295Ab3E1LvE (ORCPT ); Tue, 28 May 2013 07:51:04 -0400 Received: from mail-lb0-f170.google.com ([209.85.217.170]:54424 "EHLO mail-lb0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933211Ab3E1LvB (ORCPT ); Tue, 28 May 2013 07:51:01 -0400 Received: by mail-lb0-f170.google.com with SMTP id t13so7669630lbd.1 for ; Tue, 28 May 2013 04:51:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:user-agent:date:from:to:cc:subject:references :content-disposition; bh=sa6yGyr4B4caa/AtJdMc7YRKgZVxWPih1jlsTpGYO74=; b=Kuip+pUfliQzPZvmYaZ5XQtaMNWnmgDZ6QkTrqNmwLIICoH4XY2PYYhehnrJzRP46L lXlqojncs/iHW5iPyiUjHqdyS4KcxkHwWvtQarzdCmuTXAkVblindGFZY8VycLe8c3Zx pl/bNUAPHupN/CREwjrAEqZ+gJIfJtkIIW1kiFAknSlm6InYgyJH0SG/7fv651gnVd4B eG1pxKu1DFdaF0zdRZHk4adH39+mChlxRzjxI/3wcDqjpHBr0fnJrMzt3yCsfgZWAel7 rwYfVGHaINE7XH1JLi8TGDlWqU+Fmf4z4UaPbrO/r7ZG0sqwrijP/pJM6dYvJbrNez2T clWw== X-Received: by 10.152.87.69 with SMTP id v5mr16608387laz.24.1369741860258; Tue, 28 May 2013 04:51:00 -0700 (PDT) Received: from moon.localdomain ([188.134.39.132]) by mx.google.com with ESMTPSA id g10sm13693727lag.10.2013.05.28.04.50.58 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 28 May 2013 04:50:59 -0700 (PDT) Received: by moon.localdomain (Postfix, from userid 1000) id 7FCB0840205; Tue, 28 May 2013 15:50:58 +0400 (MSK) Message-Id: <20130528115058.414749461@openvz.org> User-Agent: quilt/0.60-1 Date: Tue, 28 May 2013 15:49:43 +0400 From: Cyrill Gorcunov To: Pekka Enberg Cc: mingo@kernel.org, sasha.levin@oracle.com, asias@redhat.com, kvm@vger.kernel.org, Cyrill Gorcunov Subject: [patch 1/2] tools: lkvm - Dont generate deps and verion file on clean target References: <20130528114942.157262069@openvz.org> Content-Disposition: inline; filename=kvm-clean Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org This is redundant since we're to remove them right after being generated. CC: Ingo Molnar CC: Pekka Enberg CC: Sasha Levin CC: Asias He Signed-off-by: Cyrill Gorcunov --- tools/kvm/Makefile | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Index: linux-2.6.git/tools/kvm/Makefile =================================================================== --- linux-2.6.git.orig/tools/kvm/Makefile +++ linux-2.6.git/tools/kvm/Makefile @@ -324,10 +324,6 @@ all: arch_support_check $(PROGRAM) $(PRO arch_support_check: $(UNSUPP_ERR) -KVMTOOLS-VERSION-FILE: - @$(SHELL_PATH) util/KVMTOOLS-VERSION-GEN $(OUTPUT) --include $(OUTPUT)KVMTOOLS-VERSION-FILE - # When building -static all objects are built with appropriate flags, which # may differ between static & dynamic .o. The objects are separated into # .o and .static.o. See the %.o: %.c rules below. @@ -504,5 +500,12 @@ cscope: $(Q) $(CSCOPE) -bkqu .PHONY: cscope -# Deps +# +# Escape redundant work on cleaning up +ifneq ($(MAKECMDGOALS),clean) -include $(DEPS) + +KVMTOOLS-VERSION-FILE: + @$(SHELL_PATH) util/KVMTOOLS-VERSION-GEN $(OUTPUT) +-include $(OUTPUT)KVMTOOLS-VERSION-FILE +endif