sm7250-common: Silence clang warnings during kernel compile

*clang-11: warning: argument unused during compilation:
'-fuse-ld=lld' [-Wunused-command-line-argument]

Signed-off-by: Manikantaraavi <raavimanikanta6595@gmail.com>
This commit is contained in:
sthomsonpl
2021-12-20 01:29:15 +01:00
committed by Sandeep-FED
parent 5589919dff
commit 725f3e9d73

View File

@@ -53,7 +53,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)
TARGET_KERNEL_ADDITIONAL_FLAGS := DTC_EXT=$(shell pwd)/prebuilts/misc/linux-x86/dtc/dtc TARGET_KERNEL_ADDITIONAL_FLAGS := DTC_EXT=$(shell pwd)/prebuilts/misc/linux-x86/dtc/dtc OEM_TARGET_PRODUCT=$(PRODUCT_DEVICE) HOSTCFLAGS="-fuse-ld=lld -Wno-unused-command-line-argument" AS=llvm-as AR=llvm-ar NM=llvm-nm OBJCOPY=llvm-objcopy OBJDUMP=llvm-objdump STRIP=llvm-strip
TARGET_KERNEL_SOURCE := kernel/oneplus/$(TARGET_DEVICE) TARGET_KERNEL_SOURCE := kernel/oneplus/$(TARGET_DEVICE)
TARGET_KERNEL_CLANG_COMPILE := true TARGET_KERNEL_CLANG_COMPILE := true
TARGET_KERNEL_CONFIG := vendor/lito-perf_defconfig TARGET_KERNEL_CONFIG := vendor/lito-perf_defconfig