[linux-tools] 08/11: debian/rules: Add support for DEB_BUILD_OPTIONS=parallel=N
    debian-kernel at lists.debian.org 
    debian-kernel at lists.debian.org
       
    Fri Sep 25 23:40:37 UTC 2015
    
    
  
This is an automated email from the git hooks/post-receive script.
benh pushed a commit to branch master
in repository linux-tools.
commit 40299a2dbd6555d810674f125ee4bc976bf38746
Author: Ben Hutchings <ben at decadent.org.uk>
Date:   Fri Sep 25 20:36:50 2015 +0100
    debian/rules: Add support for DEB_BUILD_OPTIONS=parallel=N
---
 debian/changelog | 1 +
 debian/rules     | 2 ++
 2 files changed, 3 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index fd712fa..658c463 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,7 @@ linux-tools (4.2-1) UNRELEASED; urgency=medium
   * linux-perf: Remove shebang lines from perf scripts
   * Set compiler flags according to dpkg-buildflags
   * hyperv-daemons: Fix fortify format warning
+  * debian/rules: Add support for DEB_BUILD_OPTIONS=parallel=N
 
  -- Ben Hutchings <ben at decadent.org.uk>  Fri, 25 Sep 2015 18:42:20 +0100
 
diff --git a/debian/rules b/debian/rules
index b01412c..78f11b4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,8 @@ VERSION_DEBIAN_BINNMU := $(shell echo "$(DEB_VERSION)" | sed -ne 's,.*\+b\(.*\)$
 
 include debian/rules.defs
 
+MAKEFLAGS += $(subst parallel=,-j,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+
 build: build-arch build-indep
 
 build-arch: debian/control $(STAMPS_DIR)/build-base
-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/linux-tools.git
    
    
More information about the Kernel-svn-changes
mailing list