-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.config.redbull.vintf
More file actions
30 lines (25 loc) · 815 Bytes
/
build.config.redbull.vintf
File metadata and controls
30 lines (25 loc) · 815 Bytes
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
KERNEL_DIR=private/msm-google
BUILD_BOOT_IMG=true
. ${ROOT_DIR}/${KERNEL_DIR}/build.config.redbull.common.clang
POST_DEFCONFIG_CMDS="check_defconfig && update_config"
EN_THINLTO=
if [[ "${ENABLE_THINLTO:-0}" -eq 1 ]]; then
EN_THINLTO="-e THINLTO"
fi
ABI_DEFINITION=android/abi_gki_aarch64_redbull.xml
KMI_SYMBOL_LIST=android/abi_gki_aarch64_redbull
KMI_SYMBOL_LIST_ADD_ONLY=1
TRIM_NONLISTED_KMI=1
KMI_SYMBOL_LIST_STRICT_MODE=1
KMI_ENFORCED=1
function update_config() {
# Disable debugfs
# Disable coresight
${KERNEL_DIR}/scripts/config --file ${OUT_DIR}/.config \
${EN_THINLTO} \
-d DEBUG_FS \
-d CORESIGHT \
-e PID_IN_CONTEXTIDR
(cd ${OUT_DIR} && \
make O=${OUT_DIR} CLANG_TRIPLE=${CLANG_TRIPLE} CROSS_COMPILE=${CROSS_COMPILE} "${TOOL_ARGS[@]}" ${MAKE_ARGS} olddefconfig)
}