This repository was archived by the owner on Feb 10, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,9 @@ sudo apt install bc bison build-essential ccache curl flex g++-multilib gcc-mult
1717
1818# rom type?
1919while 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
161162source build/envsetup.sh
162163
163164# check rom type and assign gapps type and rom type
164- if [ $FOSTERTYPE = " t " ];
165+ if [ $FOSTERTYPE = " i " ];
165166then
166- TYPE=" tvmini "
167- OUTPUTFILE=" foster "
168- lunch lineage_foster -userdebug
167+ TYPE=" pico "
168+ OUTPUTFILE=" icosa "
169+ lunch lineage_icosa -userdebug
169170else
170171 TYPE=" pico"
171172 OUTPUTFILE=" foster_tab"
172173 lunch lineage_foster_tab-userdebug
174+ TYPE=" tvmini"
175+ OUTPUTFILE=" foster"
176+ lunch lineage_foster-userdebug
173177fi
178+
174179make -j${JOBS} bacon
175180
176181# # This script copies the build output to the output dir
You can’t perform that action at this time.
0 commit comments