-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.sh
38 lines (30 loc) · 829 Bytes
/
build.sh
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
#!/usr/bin/env bash
BUILD_ROOT="$PWD"
QSSI_ROOT="${BUILD_ROOT}/LA.QSSI.13.0"
VENDOR_ROOT="${BUILD_ROOT}/LA.UM.9.14.4"
function build_qssi {
cd "$QSSI_ROOT"
source build/envsetup.sh
lunch qssi-userdebug
./build.sh dist --qssi_only -j "$(nproc --all)"
}
function build_target {
cd "$VENDOR_ROOT"
source build/envsetup.sh
lunch lahaina-userdebug
./build.sh dist --target_only -j "$(nproc --all)"
}
function build_super {
cd "$VENDOR_ROOT"
python vendor/qcom/opensource/core-utils/build/build_image_standalone.py \
--image super \
--qssi_build_path "$QSSI_ROOT" \
--target_build_path "$VENDOR_ROOT" \
--merged_build_path "$VENDOR_ROOT" \
--target_lunch lahaina \
--skip_qiifa \
--output_ota
}
build_qssi
build_target
build_super