Build as much packages as possible at one time.

* debian/Makefile: Update.
* debian/bin/gencontrol.py: Produce only one call per flavour.

svn path=/trunk/kernel/source/linux-2.6/; revision=3740
This commit is contained in:
Bastian Blank 2005-08-08 13:51:37 +00:00
parent 2194b95339
commit c4da84d9df
2 changed files with 9 additions and 12 deletions

16
debian/Makefile vendored
View File

@ -245,13 +245,13 @@ build-$(subarch)-%: $(kdir) config.%
binary-dummy:
dh_testdir
dh_testroot
dh_installchangelogs -p$(PACKAGE)
dh_installdocs -p$(PACKAGE)
dh_compress -p$(PACKAGE)
dh_fixperms -p$(PACKAGE)
dh_installdeb -p$(PACKAGE)
dh_gencontrol -p$(PACKAGE)
dh_md5sums -p$(PACKAGE)
dh_builddeb -p$(PACKAGE)
dh_installchangelogs $(PACKAGES_ARG)
dh_installdocs $(PACKAGES_ARG)
dh_compress $(PACKAGES_ARG)
dh_fixperms $(PACKAGES_ARG)
dh_installdeb $(PACKAGES_ARG)
dh_gencontrol $(PACKAGES_ARG)
dh_md5sums $(PACKAGES_ARG)
dh_builddeb $(PACKAGES_ARG)
.PHONY: build unpack binary-indep binary-arch binary

View File

@ -370,10 +370,7 @@ if __name__ == '__main__':
for i in ('binary', 'build', 'unpack'):
makefile.append(("%s-%s-%s:: %s-%s-%s-%s" % (i, arch, subarch_text, i, arch, subarch_text, flavour), None))
rule = []
for i in dummy_packages:
rule.append("$(MAKE) -f debian/Makefile binary-dummy PACKAGE=%s" % i['Package'])
makefile.append(("binary-%s-%s-%s:" % (arch, subarch_text, flavour), rule))
makefile.append(("binary-%s-%s-%s:" % (arch, subarch_text, flavour), ("$(MAKE) -f debian/Makefile binary-dummy PACKAGES_ARG='%s'" % ' '.join(["-p%s" % i['Package'] for i in dummy_packages]),)))
write_control(packages)
write_makefile(makefile)