kernel: Set "safe" default values for kernel build host & user
Take all the fun out of the game and set sanitized values by default.
This commit is contained in:
committed by
Zabuka_zuzu
parent
7386b85534
commit
532fea4083
@@ -124,6 +124,11 @@ endif
|
||||
# Clear this first to prevent accidental poisoning from env
|
||||
KERNEL_MAKE_FLAGS :=
|
||||
|
||||
# Use "safe" default values for kernel build user & host - matches Pixels, helps avoid detection
|
||||
KERNEL_MAKE_FLAGS += \
|
||||
KBUILD_BUILD_USER="build-user" \
|
||||
KBUILD_BUILD_HOST="build-host"
|
||||
|
||||
# Add back threads, ninja cuts this to $(getconf _NPROCESSORS_ONLN)/2
|
||||
KERNEL_MAKE_FLAGS += -j$(shell getconf _NPROCESSORS_ONLN)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user