[kernel] r4793 - dists/trunk/linux-2.6/debian/bin

Sven Luther luther at costa.debian.org
Sun Nov 13 10:47:49 UTC 2005


Author: luther
Date: Sun Nov 13 10:47:49 2005
New Revision: 4793

Modified:
   dists/trunk/linux-2.6/debian/bin/gencontrol.py
Log:
Added FLAVOURS=... to install-headers-all rules.gen invocation, thanks to mhy for providing the patch.


Modified: dists/trunk/linux-2.6/debian/bin/gencontrol.py
==============================================================================
--- dists/trunk/linux-2.6/debian/bin/gencontrol.py	(original)
+++ dists/trunk/linux-2.6/debian/bin/gencontrol.py	Sun Nov 13 10:47:49 2005
@@ -297,6 +297,8 @@
     for subarch in config_entry['subarches']:
         process_real_subarch(packages, makefile, config, arch, subarch, vars.copy(), makeflags.copy(), package_headers_arch_depends)
 
+    # Append this here so it only occurs on the install-headers-all line
+    makeflags_string += " FLAVOURS='%s' " % ' '.join(['%s' % i for i in config_entry['flavours']])
     cmds_binary_arch = []
     cmds_binary_arch.append(("$(MAKE) -f debian/rules.real install-headers-all GENCONTROL_ARGS='\"-Vkernel:Depends=%s\"' %s" % (', '.join(package_headers_arch_depends), makeflags_string),))
     makefile.append(("binary-arch-%s-real:" % arch, cmds_binary_arch))



More information about the Kernel-svn-changes mailing list