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" + } +]