[kernel] r15962 - in dists/trunk/linux-2.6/debian/patches: bugfix/all series

Ben Hutchings benh at alioth.debian.org
Wed Jul 7 03:12:47 UTC 2010


Author: benh
Date: Wed Jul  7 03:12:37 2010
New Revision: 15962

Log:
kbuild: Fix setlocalversion invocation when objtree != srctree

Added:
   dists/trunk/linux-2.6/debian/patches/bugfix/all/kbuild-Fix-setlocalversion-invocation.patch
Modified:
   dists/trunk/linux-2.6/debian/patches/series/base

Added: dists/trunk/linux-2.6/debian/patches/bugfix/all/kbuild-Fix-setlocalversion-invocation.patch
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ dists/trunk/linux-2.6/debian/patches/bugfix/all/kbuild-Fix-setlocalversion-invocation.patch	Wed Jul  7 03:12:37 2010	(r15962)
@@ -0,0 +1,28 @@
+From 9a657f2733d7ea94da555fb0c2faa16db41db885 Mon Sep 17 00:00:00 2001
+From: Ben Hutchings <ben at decadent.org.uk>
+Date: Wed, 7 Jul 2010 04:08:25 +0100
+Subject: [PATCH] kbuild: Fix setlocalversion invocation when objtree != srctree
+
+The scripts directory may not exist under the current directory.
+
+Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
+---
+ Makefile |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 914e5f5..f9835c8 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
+-- 
+1.7.1
+

Modified: dists/trunk/linux-2.6/debian/patches/series/base
==============================================================================
--- dists/trunk/linux-2.6/debian/patches/series/base	Wed Jul  7 02:45:12 2010	(r15961)
+++ dists/trunk/linux-2.6/debian/patches/series/base	Wed Jul  7 03:12:37 2010	(r15962)
@@ -61,3 +61,4 @@
 + bugfix/all/ipv6-Use-interface-max_desync_factor.patch
 + bugfix/all/rtl8192su-Clean-up-in-case-of-an-error-in-mo.patch
 + bugfix/all/rtl8192su-Fix-procfs-code-for-interfaces-not.patch
++ bugfix/all/kbuild-Fix-setlocalversion-invocation.patch



More information about the Kernel-svn-changes mailing list