On 10/08/2013 10:02 AM, Ingo Molnar wrote: > +ifeq ($(JOBS),) > + JOBS := $(shell grep -c ^processor /proc/cpuinfo 2>/dev/null)
nproc is probably ubiquitous enough to use now (available since coreutils 8.1 (end of 2009)) As well as being more concise, it will take account of offline CPUs etc. > + ifeq ($(JOBS),) > + JOBS := 1 > + endif > +endif -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/