kernel: Add more threads to kernel build process

Change-Id: I9c90de7820308542c7bb15605df519976dd04e0b
gugelfrei
Ethan Chen 5 years ago
parent 4b93d993db
commit 995aff2a45

@ -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"

Loading…
Cancel
Save