debian/control: Move many build dependencies to Build-Depends-Arch field

This commit is contained in:
Ben Hutchings 2017-09-30 14:07:22 +01:00
parent d0991cbfc0
commit 06c36b3662
4 changed files with 6 additions and 3 deletions

View File

@ -338,7 +338,7 @@ class Gencontrol(Base):
for group in relations_compiler_build_dep:
for item in group:
item.arches = [arch]
packages['source']['Build-Depends'].extend(relations_compiler_build_dep)
packages['source']['Build-Depends-Arch'].extend(relations_compiler_build_dep)
image_fields = {'Description': PackageDescription()}
for field in 'Depends', 'Provides', 'Suggests', 'Recommends', 'Conflicts', 'Breaks':

1
debian/changelog vendored
View File

@ -24,6 +24,7 @@ linux (4.13.4-1~exp1) UNRELEASED; urgency=medium
- Change all binary packages with priority: extra to priority: optional
- Install copyright file (and some other documentation) when the nodoc
profile is used
* debian/control: Move many build dependencies to Build-Depends-Arch field
[ Uwe Kleine-König ]
* [arm64] really enable NET_DSA_MV88E6XXX for Espressobin

View File

@ -442,6 +442,7 @@ class Package(_ControlFileDict):
('Uploaders', str),
('Standards-Version', str),
('Build-Depends', PackageRelation),
('Build-Depends-Arch', PackageRelation),
('Build-Depends-Indep', PackageRelation),
('Provides', PackageRelation),
('Pre-Depends', PackageRelation),

View File

@ -13,6 +13,9 @@ Build-Depends:
cpio <!stage1>,
# used by upstream to compress kernel and by debian/rules.real to build linux-source
xz-utils <!stage1>,
# used by debian/rules.real to build linux-perf and linux-support
dh-python <!stage1>,
Build-Depends-Arch:
# used by debian/rules.real to build udebs
kernel-wedge (>= 2.93~) <!stage1>,
# used by kernel-wedge (only on Linux, thus not declared as a dependency)
@ -55,8 +58,6 @@ Build-Depends:
rsync <!stage1 !pkg.linux.notools>,
# used by upstream to build cpupower
libpci-dev <!stage1 !pkg.linux.notools>,
# used by debian/rules.real to build linux-perf and linux-support
dh-python <!stage1>,
Build-Depends-Indep:
# used by debian/rules.real to build linux-source
patchutils <!stage1>,