r3579 - trunk/kernel/source/linux-2.6-2.6.12/debian

Andres Salomon dilinger at costa.debian.org
Mon Jul 18 21:51:20 UTC 2005


Author: dilinger
Date: 2005-07-18 21:51:19 +0000 (Mon, 18 Jul 2005)
New Revision: 3579

Modified:
   trunk/kernel/source/linux-2.6-2.6.12/debian/Makefile
Log:
give this a try; create default config via 'make defconfig'


Modified: trunk/kernel/source/linux-2.6-2.6.12/debian/Makefile
===================================================================
--- trunk/kernel/source/linux-2.6-2.6.12/debian/Makefile	2005-07-18 21:46:09 UTC (rev 3578)
+++ trunk/kernel/source/linux-2.6-2.6.12/debian/Makefile	2005-07-18 21:51:19 UTC (rev 3579)
@@ -92,18 +92,6 @@
 bdirs   := $(addprefix build-$(subarch)-, $(flavours))
 bstamps := $(addprefix build-stamp-$(subarch)-, $(flavours))
 istamps := $(addprefix install-stamp-$(subarch)-, $(flavours))
-#
-# We need to determine the default config, the one which we will
-# use to build the headers with. It does not matter very much which
-# one is used, but for historical reasons we will look for it like
-# this:
-# * If variable default_config is set (may be set in Makefile.inc)
-#   then config file config.$(default_config) will be used as default.
-# * Otherwise, the config for the first flavour mentioned in $(flavours)
-#   will be used.
-#
-default_list := config.$(default_config)
-default_list += config.$(firstword $(flavours))
 
 #
 # Targets
@@ -129,14 +117,12 @@
 	rm -rf install-$*;
 	touch install-stamp-$(subarch)-$*
 
-headers-stamp: $(kdir) config.$(firstword $(flavours))
+headers-stamp: $(kdir)
 	# In the long term, we can just use 'make-kpkg --config def' instead
-	# of providing a default config; however, we're going to have to
+	# of calling this manually; however, we're going to have to
 	# wait for kernel-package to fix that first.  #XXX
-	default='$(firstword $(wildcard $(default_list)))';             \
-	echo "I: Using $${default} as the header configuration file.";	\
-	cp "$${default}" $(kdir)/.config
-	cd $(kdir); $(kpkg_headers_cmd)
+	echo "I: generating header configuration file using 'make defconfig.'";\
+	cd $(kdir); $(MAKE) defconfig; $(kpkg_headers_cmd)
 	cat $(kdir)/debian/files >> files
 	touch headers-stamp
 




More information about the Kernel-svn-changes mailing list