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

Commit

Permalink
Added Icosa as an option for building.
Browse files Browse the repository at this point in the history
  • Loading branch information
y committed Dec 23, 2020
1 parent a725026 commit 728c8fd
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions Q_Builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ sudo apt install bc bison build-essential ccache curl flex g++-multilib gcc-mult

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

# check rom type and assign gapps type and rom type
if [ $FOSTERTYPE = "t" ];
if [ $FOSTERTYPE = "i" ];
then
TYPE="tvmini"
OUTPUTFILE="foster"
lunch lineage_foster-userdebug
TYPE="pico"
OUTPUTFILE="icosa"
lunch lineage_icosa-userdebug
else
TYPE="pico"
OUTPUTFILE="foster_tab"
lunch lineage_foster_tab-userdebug
TYPE="tvmini"
OUTPUTFILE="foster"
lunch lineage_foster-userdebug
fi

make -j${JOBS} bacon

## This script copies the build output to the output dir
Expand Down

0 comments on commit 728c8fd

Please sign in to comment.