msm8996-common: kernel: Use username and hostname for kernel build

This helps us make sure user is on same kernel as rom while debugging and hasnt swapped kernel on installed custom rom
This commit is contained in:
ivanmeler 2022-11-08 20:58:01 +00:00
parent 55fc59f8dc
commit 2709dd6187

View file

@ -55,7 +55,8 @@ TARGET_KERNEL_VERSION := 3.18
TARGET_KERNEL_SOURCE := kernel/samsung/msm8996 TARGET_KERNEL_SOURCE := kernel/samsung/msm8996
TARGET_COMPILE_WITH_MSM_KERNEL := true TARGET_COMPILE_WITH_MSM_KERNEL := true
TARGET_KERNEL_ADDITIONAL_FLAGS := \ TARGET_KERNEL_ADDITIONAL_FLAGS := \
HOSTCFLAGS="-fuse-ld=lld -Wno-unused-command-line-argument" HOSTCFLAGS="-fuse-ld=lld -Wno-unused-command-line-argument" \
KBUILD_BUILD_USER=$(BUILD_USERNAME) KBUILD_BUILD_HOST=$(BUILD_HOSTNAME)
# Platform # Platform
TARGET_BOARD_PLATFORM := msm8996 TARGET_BOARD_PLATFORM := msm8996