From 93c76a4addc5bc1ec827b90a3df57ad4fe15f8c6 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Sat, 20 May 2023 18:15:51 +0200 Subject: [PATCH] d/rules: honor the parallel build-option no fun to build the kernel with just a single job at the same time, which happens e.g., in an sbuild environment. Signed-off-by: Thomas Lamprecht --- debian/rules | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian/rules b/debian/rules index bcf335a..744e5cb 100755 --- a/debian/rules +++ b/debian/rules @@ -11,6 +11,8 @@ include /usr/share/dpkg/default.mk include debian/rules.d/env.mk include debian/rules.d/$(DEB_BUILD_ARCH).mk +MAKEFLAGS += $(subst parallel=,-j,$(filter parallel=%,${DEB_BUILD_OPTIONS})) + CHANGELOG_DATE:=$(shell dpkg-parsechangelog -SDate) CHANGELOG_DATE_UTC_ISO := $(shell date -u -d '$(CHANGELOG_DATE)' +%Y-%m-%dT%H:%MZ) -- 2.39.2