-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.config.sake
34 lines (29 loc) · 1.1 KB
/
build.config.sake
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Define architecture.
ARCH=arm64
# Define branch and KMI generation
BRANCH=android11
KMI_GENERATION=2
# Define toolchain and binutils.
CROSS_COMPILE=aarch64-elf-
CROSS_COMPILE_COMPAT=arm-eabi-
LINUX_GCC_CROSS_COMPILE_PREBUILTS_BIN=prebuilts/gcc/linux-x86/aarch64/aarch64-elf/bin
LINUX_GCC_CROSS_COMPILE_ARM32_PREBUILTS_BIN=prebuilts/gcc/linux-x86/arm/arm-eabi/bin/
# Define DTC paths.
LIBUFDT_PREBUILTS_BIN=prebuilts-master/misc/linux-x86/libufdt
DTC_EXT=${ROOT_DIR}/prebuilts/kernel-build-tools/linux-x86/bin/dtc
export DTC_EXT
DTC_OVERLAY_TEST_EXT=${ROOT_DIR}/prebuilts/kernel-build-tools/linux-x86/bin/ufdt_apply_overlay
export DTC_OVERLAY_TEST_EXT
# Define kernel source and defconfig.
DEFCONFIG=vendor/sake_defconfig
KERNEL_DIR=private/asus-msm-5.4
# Artifacts to be copied over for the prebuilt repo.
FILES+="
arch/arm64/boot/Image
arch/arm64/boot/dts/vendor/qcom/lahaina-v2.1.dtb
arch/arm64/boot/dts/vendor/qcom/lahaina-v2.dtb
arch/arm64/boot/dts/vendor/qcom/lahaina.dtb
arch/arm64/boot/dts/vendor/qcom/lahainap-v2.1.dtb
arch/arm64/boot/dts/vendor/qcom/lahainap-v2.dtb
arch/arm64/boot/dts/vendor/qcom/lahainap.dtb
"