Skip to content

Commit

Permalink
kernel: Add more threads to kernel build process
Browse files Browse the repository at this point in the history
Change-Id: I9c90de7820308542c7bb15605df519976dd04e0b
  • Loading branch information
intervigilium authored and hungphan2001 committed May 28, 2019
1 parent 415b6b1 commit dd2f6c4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/BoardConfigKernel.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit dd2f6c4

Please sign in to comment.