From patchwork Mon Oct 19 10:59:24 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Kiszka X-Patchwork-Id: 54746 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n9JB53l8026265 for ; Mon, 19 Oct 2009 11:05:03 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756028AbZJSLEm (ORCPT ); Mon, 19 Oct 2009 07:04:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755913AbZJSLEl (ORCPT ); Mon, 19 Oct 2009 07:04:41 -0400 Received: from david.siemens.de ([192.35.17.14]:17254 "EHLO david.siemens.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755930AbZJSLEh (ORCPT ); Mon, 19 Oct 2009 07:04:37 -0400 Received: from mail1.siemens.de (localhost [127.0.0.1]) by david.siemens.de (8.12.11.20060308/8.12.11) with ESMTP id n9JB4SFv025639; Mon, 19 Oct 2009 13:04:28 +0200 Received: from [139.25.109.167] (mchn012c.ww002.siemens.net [139.25.109.167] (may be forged)) by mail1.siemens.de (8.12.11.20060308/8.12.11) with ESMTP id n9JB4S7O020778; Mon, 19 Oct 2009 13:04:28 +0200 From: Jan Kiszka Subject: [PATCH 02/12] Use DESTDIR consitently on installation To: Avi Kivity , Marcelo Tosatti Cc: kvm@vger.kernel.org Date: Mon, 19 Oct 2009 12:59:24 +0200 Message-ID: <20091019105924.3988.11776.stgit@mchn012c.ww002.siemens.net> In-Reply-To: <20091019105923.3988.42243.stgit@mchn012c.ww002.siemens.net> References: <20091019105923.3988.42243.stgit@mchn012c.ww002.siemens.net> User-Agent: StGIT/0.14.3 MIME-Version: 1.0 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org diff --git a/Makefile b/Makefile index 37a14e1..8314833 100644 --- a/Makefile +++ b/Makefile @@ -49,11 +49,11 @@ sync: install: mkdir -p $(DESTDIR)/$(INSTALLDIR) cp $(ARCH_DIR)/*.ko $(DESTDIR)/$(INSTALLDIR) - for i in $(ORIGMODDIR)/drivers/kvm/*.ko \ - $(ORIGMODDIR)/arch/$(ARCH_DIR)/kvm/*.ko; do \ + for i in $(DESTDIR)/$(ORIGMODDIR)/drivers/kvm/*.ko \ + $(DESTDIR)/$(ORIGMODDIR)/arch/$(ARCH_DIR)/kvm/*.ko; do \ if [ -f "$$i" ]; then mv "$$i" "$$i.orig"; fi; \ done - /sbin/depmod -a $(DEPMOD_VERSION) + /sbin/depmod -a $(DEPMOD_VERSION) -b $(DESTDIR) tmpspec = .tmp.kvm-kmod.spec