[kernel] r15713 - dists/trunk/linux-kbuild-2.6/debian

Ben Hutchings benh at alioth.debian.org
Mon May 17 02:49:44 UTC 2010


Author: benh
Date: Mon May 17 02:49:41 2010
New Revision: 15713

Log:
New upstream version (2.6.34).

Generate dummy autoconf.h to keep modpost building.

Modified:
   dists/trunk/linux-kbuild-2.6/debian/changelog
   dists/trunk/linux-kbuild-2.6/debian/rules

Modified: dists/trunk/linux-kbuild-2.6/debian/changelog
==============================================================================
--- dists/trunk/linux-kbuild-2.6/debian/changelog	Mon May 17 01:54:49 2010	(r15712)
+++ dists/trunk/linux-kbuild-2.6/debian/changelog	Mon May 17 02:49:41 2010	(r15713)
@@ -1,3 +1,9 @@
+linux-kbuild-2.6 (2.6.34-1~experimental.1) UNRELEASED; urgency=low
+
+  * New upstream version
+
+ -- Ben Hutchings <ben at decadent.org.uk>  Mon, 17 May 2010 03:26:43 +0100
+
 linux-kbuild-2.6 (2.6.32-1) unstable; urgency=low
 
   [ Ben Hutchings ]

Modified: dists/trunk/linux-kbuild-2.6/debian/rules
==============================================================================
--- dists/trunk/linux-kbuild-2.6/debian/rules	Mon May 17 01:54:49 2010	(r15712)
+++ dists/trunk/linux-kbuild-2.6/debian/rules	Mon May 17 02:49:41 2010	(r15713)
@@ -11,7 +11,7 @@
 include debian/rules.defs
 
 build: debian/control $(STAMPS_DIR)/build-base
-$(STAMPS_DIR)/build-base: $(BUILD_DIR) $(STAMPS_DIR)
+$(STAMPS_DIR)/build-base: $(BUILD_DIR) $(STAMPS_DIR) kbuild/include/generated/autoconf.h
 	dh_testdir
 	$(MAKE) -f debian/rules.gen build
 	touch $@
@@ -19,6 +19,12 @@
 $(BUILD_DIR) $(STAMPS_DIR):
 	@[ -d $@ ] || mkdir $@
 
+# modpost needs CONFIG_SYMBOL_PREFIX from autoconf.h, but this is undefined
+# for all Debian architectures.
+kbuild/include/generated/autoconf.h:
+	@mkdir -p $(@D)
+	@[ -f $@ ] || touch $@
+
 DIR_ORIG = ../orig/$(SOURCE)-$(VERSION)
 TAR_ORIG_NAME = $(SOURCE)_$(VERSION).orig.tar.gz
 TAR_ORIG = $(firstword $(wildcard ../$(TAR_ORIG_NAME)) $(wildcard ../orig/$(TAR_ORIG_NAME)))
@@ -40,7 +46,7 @@
 
 clean: debian/control
 	dh_testdir
-	rm -rf $(BUILD_DIR) $(STAMPS_DIR) debian/lib/python/debian_linux/*.pyc
+	rm -rf $(BUILD_DIR) $(STAMPS_DIR) debian/lib/python/debian_linux/*.pyc kbuild/include/generated
 	dh_clean
 
 binary-indep:



More information about the Kernel-svn-changes mailing list