lineage: kernel: Use getconf instead of nproc
Change-Id: Id8215f290a88ddf3a6bc1764d9ef9a09f6aa810d
This commit is contained in:
parent
bcfa69d705
commit
70b1bf3812
1 changed files with 2 additions and 2 deletions
|
@ -80,8 +80,8 @@ 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$(shell prebuilts/tools-lineage/$(HOST_PREBUILT_TAG)/bin/nproc --all)
|
||||
# Add back threads, ninja cuts this to $(getconf _NPROCESSORS_ONLN)/2
|
||||
KERNEL_MAKE_FLAGS += -j$(shell getconf _NPROCESSORS_ONLN)
|
||||
|
||||
TOOLS_PATH_OVERRIDE := \
|
||||
LD_LIBRARY_PATH=$(BUILD_TOP)/prebuilts/tools-lineage/$(HOST_PREBUILT_TAG)/lib:$$LD_LIBRARY_PATH \
|
||||
|
|
Loading…
Reference in a new issue