From patchwork Sun Nov 8 21:34:53 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carmelo Amoroso X-Patchwork-Id: 58628 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 nA8LfHso008341 for ; Sun, 8 Nov 2009 21:41:17 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755266AbZKHVlJ (ORCPT ); Sun, 8 Nov 2009 16:41:09 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755011AbZKHVlJ (ORCPT ); Sun, 8 Nov 2009 16:41:09 -0500 Received: from mail-bw0-f227.google.com ([209.85.218.227]:34331 "EHLO mail-bw0-f227.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754059AbZKHVlI (ORCPT ); Sun, 8 Nov 2009 16:41:08 -0500 Received: by bwz27 with SMTP id 27so2870865bwz.21 for ; Sun, 08 Nov 2009 13:41:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :user-agent:mime-version:to:cc:subject:x-enigmail-version :content-type:content-transfer-encoding; bh=1RG6J6fBRHiV/gjCa+sJs/PqBcVT3HwKVGPspm8OHdU=; b=xbAd/0Dmh0XunS35XxIAbbcSgE4Bb3GmuioNF758cwMOr3PJGUdHP7+BxBM2OAaEA6 dl0dsxfbJSKroAKw9h5UA7AmENwkK9BBvn8Oc6AzIZRZUkFLsA9VNnT2rtoV5+FCT30Z bramSvv5Firsv1W5DyyMRQErSUNic2k+YrUtY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject :x-enigmail-version:content-type:content-transfer-encoding; b=kuGBXUqHAuLMm0pexxQdioFJZ/aCRLcowdM3AflUbHaX8cJtLw1K60vYwkYihoTJlf N6eV4c4Lh1y+Pcizi9DOo3aPbJ16Gagq6JMeUUlR2oXVpSkpeWpI80ouxvVnlwAv8qID U6AP5AEhGjv/Bgs59ZCboKtZuZxPnmcgTMm9A= Received: by 10.204.156.3 with SMTP id u3mr1343057bkw.179.1257716094954; Sun, 08 Nov 2009 13:34:54 -0800 (PST) Received: from imacbox.local (93-46-16-225.ip105.fastwebnet.it [93.46.16.225]) by mx.google.com with ESMTPS id 14sm580471fxm.7.2009.11.08.13.34.53 (version=SSLv3 cipher=RC4-MD5); Sun, 08 Nov 2009 13:34:54 -0800 (PST) Message-ID: <4AF7397D.2050202@gmail.com> Date: Sun, 08 Nov 2009 22:34:53 +0100 From: Carmelo Amoroso Reply-To: carmelo73@gmail.com User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Linux Kernel Mailing List CC: linux-kbuild Subject: [PATCH] kbuild: Allow to use depmod from a non default install X-Enigmail-Version: 0.96.0 Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org diff --git a/Makefile b/Makefile index b4c04f7..f5286c4 100644 --- a/Makefile +++ b/Makefile @@ -316,7 +316,8 @@ OBJDUMP = $(CROSS_COMPILE)objdump AWK = awk GENKSYMS = scripts/genksyms/genksyms INSTALLKERNEL := installkernel -DEPMOD = /sbin/depmod +DEPMOD_PATH ?= /sbin +DEPMOD = $(DEPMOD_PATH)/depmod KALLSYMS = scripts/kallsyms PERL = perl CHECK = sparse