Skip to content
This repository was archived by the owner on Feb 10, 2022. It is now read-only.

Commit 728c8fd

Browse files
author
y
committed
Added Icosa as an option for building.
1 parent a725026 commit 728c8fd

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

Q_Builder.sh

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ sudo apt install bc bison build-essential ccache curl flex g++-multilib gcc-mult
1717

1818
# rom type?
1919
while true; do
20-
read -p "Do ya want android mobile (m) or android tv (t)?" mt
21-
case $mt in
20+
read -p "Do ya want icosa (i) or foster_tab (m) or android tv (t)?" imt
21+
case $imt in
22+
[Ii]* ) FOSTERTYPE=i; break;;
2223
[Mm]* ) FOSTERTYPE=m; break;;
2324
[Tt]* ) FOSTERTYPE=t; break;;
2425
* ) echo "Please answer yes or no.";;
@@ -161,16 +162,20 @@ mkdir -p $BUILDBASE/android/lineage/out/target/product/$OUTPUTFILE/vendor/lib/mo
161162
source build/envsetup.sh
162163

163164
# check rom type and assign gapps type and rom type
164-
if [ $FOSTERTYPE = "t" ];
165+
if [ $FOSTERTYPE = "i" ];
165166
then
166-
TYPE="tvmini"
167-
OUTPUTFILE="foster"
168-
lunch lineage_foster-userdebug
167+
TYPE="pico"
168+
OUTPUTFILE="icosa"
169+
lunch lineage_icosa-userdebug
169170
else
170171
TYPE="pico"
171172
OUTPUTFILE="foster_tab"
172173
lunch lineage_foster_tab-userdebug
174+
TYPE="tvmini"
175+
OUTPUTFILE="foster"
176+
lunch lineage_foster-userdebug
173177
fi
178+
174179
make -j${JOBS} bacon
175180

176181
## This script copies the build output to the output dir

0 commit comments

Comments
 (0)