r2526 - trunk/kernel/sparc/kernel-image-2.6.10-sparc-2.6.10/debian

Jurij Smakov jurij-guest@costa.debian.org
Mon, 21 Feb 2005 07:10:13 +0100


Author: jurij-guest
Date: 2005-02-21 07:10:12 +0100 (Mon, 21 Feb 2005)
New Revision: 2526

Modified:
   trunk/kernel/sparc/kernel-image-2.6.10-sparc-2.6.10/debian/rules
Log:
Modify the ".config changed by make oldconfig" check to
ignore the comments in .config file as one of the comments
now contains a timestamp.


Modified: trunk/kernel/sparc/kernel-image-2.6.10-sparc-2.6.10/debian/rules
===================================================================
--- trunk/kernel/sparc/kernel-image-2.6.10-sparc-2.6.10/debian/rules	2005-02-20 09:30:40 UTC (rev 2525)
+++ trunk/kernel/sparc/kernel-image-2.6.10-sparc-2.6.10/debian/rules	2005-02-21 06:10:12 UTC (rev 2526)
@@ -69,7 +69,7 @@
 		cp -al $(kdir) build-$$i; \
 		cp config/$$i build-$$i/.config; \
 		make -C build-$$i ARCH=$$karch oldconfig; \
-		if ! diff -u config/$$i build-$$i/.config; then \
+		if ! diff -I '^#' -u config/$$i build-$$i/.config; then \
 			echo "oldconfig has changed config/$$i - please fix this problem and try again"; \
 			exit 1; \
 		fi; \