-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.config.qti
40 lines (35 loc) · 1.37 KB
/
build.config.qti
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
35
36
37
38
39
40
#!/hint/bash
. "${ROOT_DIR}"/build-configs/build.config
function set_dtbo_config() {
# Enable DT overlay options
"${KERNEL_DIR}"/scripts/config --file "${OUT_DIR}"/.config \
-e BUILD_ARM64_DT_OVERLAY
(cd "${OUT_DIR}" && make -s ${CC_LD_ARG} O="${OUT_DIR}" olddefconfig)
}
function set_prima_config() {
# Enable prima-specific options
"${KERNEL_DIR}"/scripts/config --file "${OUT_DIR}"/.config \
-m PRONTO_WLAN
(cd "${OUT_DIR}" && make -s ${CC_LD_ARG} O="${OUT_DIR}" olddefconfig)
}
function set_qcacld_default_config() {
# Enable qcacld-specific options
"${KERNEL_DIR}"/scripts/config --file "${OUT_DIR}"/.config \
-m QCA_CLD_WLAN \
--set-str QCA_CLD_WLAN_PROFILE "default"
(cd "${OUT_DIR}" && make -s ${CC_LD_ARG} O="${OUT_DIR}" olddefconfig)
}
function set_qcacld_qca6174_config() {
# Enable qcacld-specific options
"${KERNEL_DIR}"/scripts/config --file "${OUT_DIR}"/.config \
-m QCA_CLD_WLAN \
--set-str QCA_CLD_WLAN_PROFILE "qca6174"
(cd "${OUT_DIR}" && make -s ${CC_LD_ARG} O="${OUT_DIR}" olddefconfig)
}
function set_qcacld_qca6390_config() {
# Enable qcacld-specific options
"${KERNEL_DIR}"/scripts/config --file "${OUT_DIR}"/.config \
-m QCA_CLD_WLAN \
--set-str QCA_CLD_WLAN_PROFILE "qca6390"
(cd "${OUT_DIR}" && make -s ${CC_LD_ARG} O="${OUT_DIR}" olddefconfig)
}