Re: Linux 2.6.35-rc4 - CONFIG_LOCALVERSION ignored?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Michal Marek
Date: Monday, July 5, 2010 - 2:43 pm

On Mon, Jul 05, 2010 at 11:25:56PM +0200, Rafael J. Wysocki wrote:

(also reported by Stephen earlier that day)

On Mon, Jul 05, 2010 at 10:39:41AM +1000, Stephen Rothwell wrote:


Oops, I'm an idiot. The below patch should fix localversion again:

From: Michal Marek <mmarek@suse.cz>
Subject: [PATCH] kbuild: Fix path to scripts/setlocalversion

Commit 0a564b2 broke LOCALVERSION for O=... builds. Ouch.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Reported-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Michal Marek <mmarek@suse.cz>

diff --git a/Makefile b/Makefile
index 12ab175..df16c4f 100644
--- a/Makefile
+++ b/Makefile
@@ -886,7 +886,7 @@ $(vmlinux-dirs): prepare scripts
 # Store (new) KERNELRELASE string in include/config/kernel.release
 include/config/kernel.release: include/config/auto.conf FORCE
 	$(Q)rm -f $@
-	$(Q)echo "$(KERNELVERSION)$$($(CONFIG_SHELL) scripts/setlocalversion $(srctree))" > $@
+	$(Q)echo "$(KERNELVERSION)$$($(CONFIG_SHELL) $(srctree)/scripts/setlocalversion $(srctree))" > $@
 
 
 # Things we need to do before we recursively start building the kernel
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Linux 2.6.35-rc4 - CONFIG_LOCALVERSION ignored?, Michal Marek, (Mon Jul 5, 2:43 pm)
Re: Linux 2.6.35-rc4 - CONFIG_LOCALVERSION ignored?, Rafael J. Wysocki, (Tue Jul 6, 11:29 am)
Re: Linux 2.6.35-rc4 - CONFIG_LOCALVERSION ignored?, Stephen Rothwell, (Tue Jul 6, 6:32 pm)