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

Commit c3aa5a7

Browse files
author
y
committed
Renamed script to Q_Builder
1 parent 994491a commit c3aa5a7

File tree

2 files changed

+7
-264
lines changed

2 files changed

+7
-264
lines changed

Foster_Tab_Q_Build_Script.sh

Lines changed: 0 additions & 259 deletions
This file was deleted.

Q_Builder.sh

100644100755
Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,8 @@ if [ $CPUOC = "y" ];
146146
then
147147
cd $BUILDBASE/android/lineage/kernel/nvidia/linux-4.9/kernel/kernel-4.9
148148
patch -p1 < $CWD/patches/oc-android10.patch
149+
cd $BUILDBASE/android/lineage/device/nvidia/foster
150+
patch -p1 < $CWD/patches/oc_profiles.patch
149151
fi
150152

151153
# joycon patch
@@ -173,17 +175,17 @@ ccache -M 50G
173175

174176
### Rebuild (clean)
175177
mkdir -p $BUILDBASE/android/lineage/out/target/product/$OUTPUTFILE/vendor/lib/modules
176-
source /build/envsetup.sh
178+
source build/envsetup.sh
177179

178180
# check rom type and assign gapps type and rom type
179181
if [ $FOSTERTYPE = "t" ];
180182
then
181-
TYPE = "tvmini"
182-
OUTPUTFILE = "foster"
183+
TYPE="tvmini"
184+
OUTPUTFILE="foster"
183185
lunch lineage_foster-userdebug
184186
else
185-
TYPE = "pico"
186-
OUTPUTFILE = "foster_tab"
187+
TYPE="pico"
188+
OUTPUTFILE="foster_tab"
187189
lunch lineage_foster_tab-userdebug
188190
fi
189191
make -j${JOBS} bacon

0 commit comments

Comments
 (0)