kernel: Fix nproc number
kati wrapper is forcing this to 2 for some reason. Hack around it.
Change-Id: Ie056f3e43645515f3c5922e0fbf79a0b5ecf7856
diff --git a/config/BoardConfigKernel.mk b/config/BoardConfigKernel.mk
index 18291fd..850a413 100644
--- a/config/BoardConfigKernel.mk
+++ b/config/BoardConfigKernel.mk
@@ -99,7 +99,7 @@
KERNEL_MAKE_FLAGS :=
# Add back threads, ninja cuts this to $(nproc)/2
-KERNEL_MAKE_FLAGS += -j$$(nproc)
+KERNEL_MAKE_FLAGS += -j$(shell nproc --all)
ifeq ($(KERNEL_ARCH),arm)
# Avoid "Unknown symbol _GLOBAL_OFFSET_TABLE_" errors