Pick up parallelism factor from DEB_BUILD_OPTIONS
STRIP=y
endif
+ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+NUMJOBS := -j$(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+endif
+
ifndef DEB_HOST_ARCH
DEB_BUILD_ARCH := $(shell dpkg --print-installation-architecture)
DEB_HOST_ARCH = $(DEB_BUILD_ARCH)
build-stamp:
dh_testdir
./configure $(CONFOPTS) $(CROSS)
- $(MAKE) all CPU=$(arch) arch=$(arch)
+ $(MAKE) all CPU=$(arch) arch=$(arch) $(NUMJOBS)
touch build-stamp
autofiles: