debian/rules: Add support for DEB_BUILD_OPTIONS=parallel=N
This commit is contained in:
parent
4555b9e92e
commit
40299a2dbd
|
@ -10,6 +10,7 @@ linux-tools (4.2-1) UNRELEASED; urgency=medium
|
||||||
* linux-perf: Remove shebang lines from perf scripts
|
* linux-perf: Remove shebang lines from perf scripts
|
||||||
* Set compiler flags according to dpkg-buildflags
|
* Set compiler flags according to dpkg-buildflags
|
||||||
* hyperv-daemons: Fix fortify format warning
|
* hyperv-daemons: Fix fortify format warning
|
||||||
|
* debian/rules: Add support for DEB_BUILD_OPTIONS=parallel=N
|
||||||
|
|
||||||
-- Ben Hutchings <ben@decadent.org.uk> Fri, 25 Sep 2015 18:42:20 +0100
|
-- Ben Hutchings <ben@decadent.org.uk> Fri, 25 Sep 2015 18:42:20 +0100
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,8 @@ VERSION_DEBIAN_BINNMU := $(shell echo "$(DEB_VERSION)" | sed -ne 's,.*\+b\(.*\)$
|
||||||
|
|
||||||
include debian/rules.defs
|
include debian/rules.defs
|
||||||
|
|
||||||
|
MAKEFLAGS += $(subst parallel=,-j,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
|
||||||
|
|
||||||
build: build-arch build-indep
|
build: build-arch build-indep
|
||||||
|
|
||||||
build-arch: debian/control $(STAMPS_DIR)/build-base
|
build-arch: debian/control $(STAMPS_DIR)/build-base
|
||||||
|
|
Loading…
Reference in New Issue