From feee933b2e1657cee0c292cd61693248f9a6fee4 Mon Sep 17 00:00:00 2001 From: Nick C Date: Wed, 2 Sep 2020 16:39:37 +0300 Subject: [PATCH] sm6250-common: switch to proton clang --- BoardConfigCommon.mk | 3 +++ aosp.dependencies | 7 +++++++ 2 files changed, 10 insertions(+) create mode 100644 aosp.dependencies diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 15a92bf..9defc31 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -75,6 +75,9 @@ BOARD_INCLUDE_DTB_IN_BOOTIMG := true TARGET_KERNEL_ARCH := arm64 TARGET_KERNEL_CLANG_COMPILE := true +TARGET_KERNEL_CLANG_VERSION := proton +KERNEL_TOOLCHAIN := $(shell pwd)/prebuilts/clang/host/linux-x86/clang-proton/bin +TARGET_KERNEL_CROSS_COMPILE_PREFIX := aarch64-linux-gnu- TARGET_KERNEL_CONFIG := cust_defconfig TARGET_KERNEL_SOURCE := kernel/xiaomi/sm6250 diff --git a/aosp.dependencies b/aosp.dependencies new file mode 100644 index 0000000..db7db7c --- /dev/null +++ b/aosp.dependencies @@ -0,0 +1,7 @@ +[ + { + "repository" : "kdrag0n/proton-clang", + "target_path" : "prebuilts/clang/host/linux-x86/clang-proton", + "branch" : "master" + } +]