Bug#740397: busybox: please add support for parallel building
On Sat, 2014-03-01 at 03:17 +0100, Cyril Brulebois wrote:
> - $(MAKE) -C ${DIR} install docs/busybox.1 \
> + $(MAKE) -j$(NUMJOBS) -C ${DIR} install docs/busybox.1 \
If parallel build is not set then won't this end up passing a bare "-j"
which will run an unlimited number of jobs...
https://www.debian.org/doc/debian-policy/ch-source.html suggests:
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
MAKEFLAGS += -j$(NUMJOBS)
endif
to avoid this.
Ian.
Reply to: