Remove unnecessary substitution of commas in $DEB_BUILD_OPTIONS
svn path=/dists/trunk/linux-2.6/; revision=14759
This commit is contained in:
parent
85e68072d5
commit
5b01abc39a
|
@ -19,9 +19,8 @@ include debian/rules.defs
|
|||
|
||||
stamp = [ -d $(dir $@) ] || mkdir $(dir $@); touch $@
|
||||
|
||||
ifneq (,$(findstring parallel=,$(DEB_BUILD_OPTIONS)))
|
||||
comma := ,
|
||||
DEBIAN_KERNEL_JOBS := $(subst parallel=,,$(filter parallel=%,$(subst $(comma), ,$(DEB_BUILD_OPTIONS))))
|
||||
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
|
||||
DEBIAN_KERNEL_JOBS := $(subst parallel=,,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
|
||||
endif
|
||||
ifdef DEBIAN_KERNEL_JOBS
|
||||
JOBS_ARG = -j$(DEBIAN_KERNEL_JOBS)
|
||||
|
|
Loading…
Reference in New Issue