Skip to content
This repository was archived by the owner on Apr 26, 2025. It is now read-only.

Commit 0336a97

Browse files
committed
Update build script for Evolution X 10.1
Change-Id: Iaa6cb21dd946c325812ffaad0f5cfe5d00a4c18b
1 parent 6253f82 commit 0336a97

File tree

2 files changed

+17
-5
lines changed

2 files changed

+17
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ source build/envsetup.sh
7272

7373
ccache -M 50G -F 0
7474

75-
lunch treble_arm64_bgN-ap3a-userdebug
75+
lunch treble_arm64_bgN-ap4a-userdebug
7676

7777
make systemimage -j$(nproc --all)
7878
```

build.sh

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,19 @@
1-
EVO_VERSION="10.0"
2-
ROOT_DIR="$HOME/evo"
1+
echo " _____ _ _ _ __ __ "
2+
echo " | ____|_ _____ | |_ _| |_(_) ___ _ __ \ \/ / "
3+
echo " | _| \ \ / / _ \| | | | | __| |/ _ \| '_ \ \ / "
4+
echo " | |___ \ V / (_) | | |_| | |_| | (_) | | | | / \ "
5+
echo " |_____| \_/ \___/|_|\__,_|\__|_|\___/|_| |_| /_/\_\ "
6+
echo " "
37

8+
ROOT_DIR="$(pwd)"
49
cd $ROOT_DIR
10+
11+
EVO_VERSION="$(awk '/EVO_VERSION := / {print $3}' $ROOT_DIR/vendor/lineage/config/version.mk)"
12+
ANDROID_BUILD_VERSION="ap4a"
13+
14+
echo "Building Evolution X version $EVO_VERSION ($ANDROID_BUILD_VERSION)"
15+
echo "---------------------------"
16+
517
source build/envsetup.sh
618
ccache -M 50G -F 0
719

@@ -21,14 +33,14 @@ compress() {
2133
echo "----- Building slim variant -----"
2234
variant="_slim"
2335
cd $ROOT_DIR
24-
lunch treble_arm64_bgN_slim-userdebug
36+
lunch treble_arm64_bgN_slim-$ANDROID_BUILD_VERSION-userdebug
2537
make systemimage -j$(nproc --all)
2638
compress
2739

2840
echo "----- Building normal variant -----"
2941
variant=""
3042
cd $ROOT_DIR
31-
lunch treble_arm64_bgN-userdebug
43+
lunch treble_arm64_bgN-$ANDROID_BUILD_VERSION-userdebug
3244
make systemimage -j$(nproc --all)
3345
compress
3446

0 commit comments

Comments
 (0)