From 69cf8487c629337b6c7990059b8edfd400d10027 Mon Sep 17 00:00:00 2001 From: easterNday <849919718@qq.com> Date: Sat, 1 Jun 2024 04:08:09 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=B3=20chore(device):=20add=20Mi=20CC?= =?UTF-8?q?=209e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit close #10 --- Kernel/configs/larus.config.json | 65 ++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 Kernel/configs/larus.config.json diff --git a/Kernel/configs/larus.config.json b/Kernel/configs/larus.config.json new file mode 100644 index 000000000..d10324be9 --- /dev/null +++ b/Kernel/configs/larus.config.json @@ -0,0 +1,65 @@ +[ + { + "kernelSource": { + "name": "Mi CC 9e", + "repo": "https://github.com/MiCode/Xiaomi_Kernel_OpenSource", + "branch": "laurus-q-oss", + "device": "laurus-q-oss", + "defconfig": "vendor/wayne_defconfig" + }, + "toolchains": [ + { + "repo": "https://github.com/LineageOS/android_prebuilts_clang_kernel_linux-x86_clang-r416183b", + "branch": "lineage-20.0", + "name": "clang", + "binaryEnv": [ + "bin" + ] + }, + { + "repo": "https://github.com/LineageOS/android_prebuilts_gcc_linux-x86_aarch64_aarch64-linux-android-4.9", + "branch": "lineage-19.1", + "name": "aarch64", + "binaryEnv": [ + "bin" + ] + }, + { + "repo": "https://github.com/LineageOS/android_prebuilts_gcc_linux-x86_arm_arm-linux-androideabi-4.9", + "branch": "lineage-19.1", + "name": "arm", + "binaryEnv": [ + "bin" + ] + } + ], + "enableCcache": true, + "params": { + "ARCH": "arm64", + "CC": "clang", + "externalCommands": { + "CLANG_TRIPLE": "aarch64-linux-gnu-", + "CROSS_COMPILE": "aarch64-linux-android-", + "CROSS_COMPILE_ARM32": "arm-linux-androideabi-", + "LD": "ld.lld", + "AR": "llvm-ar", + "NM": "llvm-nm", + "OBJCOPY": "llvm-objcopy", + "OBJDUMP": "llvm-objdump", + "READELF": "llvm-readelf", + "OBJSIZE": "llvm-size", + "STRIP": "llvm-strip", + "LDGOLD": "aarch64-linux-gnu-ld.gold", + "LLVM_AR": "llvm-ar", + "LLVM_DIS": "llvm-dis", + "CONFIG_THINLTO": "" + } + }, + "AnyKernel3": { + "use": true, + "release": true + }, + "enableKernelSU": true, + "enableLXC": true + } +] \ No newline at end of file