Fix building only versioned tools packages
Modifying makeflags in do_main_makefile() only affects the build-indep/binary-indep rules!
This commit is contained in:
parent
47b55ca315
commit
29c80ea278
|
@ -76,6 +76,10 @@ class Gencontrol(Base):
|
||||||
'ABINAME': self.abiname_version + self.abiname_part,
|
'ABINAME': self.abiname_version + self.abiname_part,
|
||||||
'SOURCEVERSION': self.version.complete,
|
'SOURCEVERSION': self.version.complete,
|
||||||
})
|
})
|
||||||
|
if not self.config.merge('packages').get('tools-unversioned', True):
|
||||||
|
makeflags['DO_TOOLS_UNVERSIONED'] = False
|
||||||
|
if not self.config.merge('packages').get('tools-versioned', True):
|
||||||
|
makeflags['DO_TOOLS_VERSIONED'] = False
|
||||||
|
|
||||||
# Prepare to generate debian/tests/control
|
# Prepare to generate debian/tests/control
|
||||||
self.tests_control = None
|
self.tests_control = None
|
||||||
|
@ -107,10 +111,6 @@ class Gencontrol(Base):
|
||||||
makeflags['ALL_TRIPLETS'] = ' '.join(triplet_enabled)
|
makeflags['ALL_TRIPLETS'] = ' '.join(triplet_enabled)
|
||||||
if not self.config.merge('packages').get('docs', True):
|
if not self.config.merge('packages').get('docs', True):
|
||||||
makeflags['DO_DOCS'] = False
|
makeflags['DO_DOCS'] = False
|
||||||
if not self.config.merge('packages').get('tools-unversioned', True):
|
|
||||||
makeflags['DO_TOOLS_UNVERSIONED'] = False
|
|
||||||
if not self.config.merge('packages').get('tools-versioned', True):
|
|
||||||
makeflags['DO_TOOLS_VERSIONED'] = False
|
|
||||||
super(Gencontrol, self).do_main_makefile(makefile, makeflags, extra)
|
super(Gencontrol, self).do_main_makefile(makefile, makeflags, extra)
|
||||||
|
|
||||||
# linux-source-$UPSTREAMVERSION will contain all kconfig files
|
# linux-source-$UPSTREAMVERSION will contain all kconfig files
|
||||||
|
|
|
@ -7,6 +7,9 @@ linux (4.17~rc3-1~exp2) UNRELEASED; urgency=medium
|
||||||
[ John Paul Adrian Glaubitz ]
|
[ John Paul Adrian Glaubitz ]
|
||||||
* [m68k] Enable CONFIG_PATA_GAYLE as module.
|
* [m68k] Enable CONFIG_PATA_GAYLE as module.
|
||||||
|
|
||||||
|
[ Ben Hutchings ]
|
||||||
|
* Fix building only versioned tools packages
|
||||||
|
|
||||||
-- Luca Boccassi <bluca@debian.org> Wed, 02 May 2018 12:59:01 +0100
|
-- Luca Boccassi <bluca@debian.org> Wed, 02 May 2018 12:59:01 +0100
|
||||||
|
|
||||||
linux (4.17~rc3-1~exp1) experimental; urgency=medium
|
linux (4.17~rc3-1~exp1) experimental; urgency=medium
|
||||||
|
|
Loading…
Reference in New Issue