OSDN Git Service

kernel.mk: build with -j option based on processor cores
authorMauro Rossi <issor.oruam@gmail.com>
Fri, 8 Jun 2018 23:17:15 +0000 (00:17 +0100)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Sun, 17 Jun 2018 04:31:10 +0000 (12:31 +0800)
commit48cdec07e5f87ed7f80ec3810c497d76b8d4be40
tree436e9a6f4d96b3fec9df68fc44f8630ab1ed6fe5
parent303318c5c96794dffd9dfc75e332c741555e9ff1
kernel.mk: build with -j option based on processor cores

submake call builds kernel using only one job,
j option is used with number of processors cores retrieved by $(shell) call

v2: use $(nproc) and add -l to limit the number of jobs based on the load
    average (cwhuang)
build/tasks/kernel.mk