sm8350-common: Use correct kernel linker
Change-Id: I1d1064a5176182acce7921e94485a1090d931660
This commit is contained in:
parent
81398e09df
commit
448b981fac
1 changed files with 1 additions and 0 deletions
|
@ -49,6 +49,7 @@ BOARD_KERNEL_IMAGE_NAME := Image
|
||||||
BOARD_KERNEL_PAGESIZE := 4096
|
BOARD_KERNEL_PAGESIZE := 4096
|
||||||
BOARD_KERNEL_SEPARATED_DTBO := true
|
BOARD_KERNEL_SEPARATED_DTBO := true
|
||||||
BOARD_MKBOOTIMG_ARGS += --header_version $(BOARD_BOOT_HEADER_VERSION)
|
BOARD_MKBOOTIMG_ARGS += --header_version $(BOARD_BOOT_HEADER_VERSION)
|
||||||
|
KERNEL_LD := LD=ld.lld
|
||||||
TARGET_KERNEL_ADDITIONAL_FLAGS := DTC_EXT=$(shell pwd)/prebuilts/misc/linux-x86/dtc/dtc OEM_TARGET_PRODUCT=$(PRODUCT_DEVICE)
|
TARGET_KERNEL_ADDITIONAL_FLAGS := DTC_EXT=$(shell pwd)/prebuilts/misc/linux-x86/dtc/dtc OEM_TARGET_PRODUCT=$(PRODUCT_DEVICE)
|
||||||
TARGET_KERNEL_SOURCE := kernel/oneplus/sm8350
|
TARGET_KERNEL_SOURCE := kernel/oneplus/sm8350
|
||||||
TARGET_KERNEL_CLANG_COMPILE := true
|
TARGET_KERNEL_CLANG_COMPILE := true
|
||||||
|
|
Loading…
Reference in a new issue