public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Alex,Shi" <alex.shi@intel.com>
To: linux-kernel@vger.kernel.org
Cc: torvalds@osdl.org
Subject: 3.0-rc3 patch compile issue
Date: Tue, 14 Jun 2011 09:18:09 +0800	[thread overview]
Message-ID: <1308014289.21027.1455.camel@debian> (raw)

The rc3
patch(http://www.kernel.org/pub/linux/kernel/v3.0/testing/patch-3.0-rc3.bz2) can not be compiled since srcipts/depmod.sh is not executable but Makefile want to it be. 

$ ll scripts/depmod.sh 
-rw-rw-r-- 1 alexs alexs 1231 2011-06-14 16:11 scripts/depmod.sh

But the file attribute is correct in Linus' git tree. So, the guys need
to update above patch file or change something in Makefile. 

Signed-off-by: Alex Shi <alex.shi@intel.com>
---
diff --git a/Makefile b/Makefile
index badb923..2a26917 100644
--- a/Makefile
+++ b/Makefile
@@ -1526,7 +1526,7 @@ quiet_cmd_rmfiles = $(if $(wildcard $(rm-files)),CLEAN   $(wildcard $(rm-files))
 
 # Run depmod only if we have System.map and depmod is executable
 quiet_cmd_depmod = DEPMOD  $(KERNELRELEASE)
-      cmd_depmod = $(srctree)/scripts/depmod.sh $(DEPMOD) $(KERNELRELEASE)
+      cmd_depmod = $(shell $(CONFIG_SHELL) $(srctree)/scripts/depmod.sh $(DEPMOD) $(KERNELRELEASE))
 
 # Create temporary dir for module support files
 # clean it up only when building all modules



                 reply	other threads:[~2011-06-14  1:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1308014289.21027.1455.camel@debian \
    --to=alex.shi@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox