kernel: Add more threads to kernel build process
Change-Id: I9c90de7820308542c7bb15605df519976dd04e0b
This commit is contained in:
@@ -95,6 +95,9 @@ endif
|
|||||||
# Clear this first to prevent accidental poisoning from env
|
# Clear this first to prevent accidental poisoning from env
|
||||||
KERNEL_MAKE_FLAGS :=
|
KERNEL_MAKE_FLAGS :=
|
||||||
|
|
||||||
|
# Add back threads, ninja cuts this to $(nproc)/2
|
||||||
|
KERNEL_MAKE_FLAGS += -j$$(nproc)
|
||||||
|
|
||||||
ifeq ($(KERNEL_ARCH),arm)
|
ifeq ($(KERNEL_ARCH),arm)
|
||||||
# Avoid "Unknown symbol _GLOBAL_OFFSET_TABLE_" errors
|
# Avoid "Unknown symbol _GLOBAL_OFFSET_TABLE_" errors
|
||||||
KERNEL_MAKE_FLAGS += CFLAGS_MODULE="-fno-pic"
|
KERNEL_MAKE_FLAGS += CFLAGS_MODULE="-fno-pic"
|
||||||
|
Reference in New Issue
Block a user