kernel: Add more threads to kernel build process

Change-Id: I9c90de7820308542c7bb15605df519976dd04e0b
This commit is contained in:
Ethan Chen
2019-02-09 14:59:56 -08:00
parent 4b93d993db
commit 995aff2a45

View File

@@ -95,6 +95,9 @@ endif
# Clear this first to prevent accidental poisoning from env
KERNEL_MAKE_FLAGS :=
# Add back threads, ninja cuts this to $(nproc)/2
KERNEL_MAKE_FLAGS += -j$$(nproc)
ifeq ($(KERNEL_ARCH),arm)
# Avoid "Unknown symbol _GLOBAL_OFFSET_TABLE_" errors
KERNEL_MAKE_FLAGS += CFLAGS_MODULE="-fno-pic"