debian/lib/python/debian_linux/gencontrol.py: Check featureset enabled flag.

svn path=/dists/trunk/linux-2.6/; revision=9228
This commit is contained in:
Bastian Blank
2007-07-30 11:26:15 +00:00
parent 98f001ee26
commit 64ea3a4fc0

View File

@@ -132,6 +132,9 @@ class Gencontrol(object):
config_base = self.config.merge('base', arch, featureset)
vars.update(config_base)
if not config_base.get('enabled', True):
return
makeflags['FEATURESET'] = featureset
vars['localversion'] = ''