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

Commit 994491a

Browse files
author
y
committed
Added oc_profiles.patch to work with power profiles
Fixed path errors Makin Bacon :)
1 parent 38edf03 commit 994491a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Foster_Tab_Q_Build_Script.sh

100644100755
Lines changed: 4 additions & 2 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
@@ -172,8 +174,8 @@ export WITHOUT_CHECK_API=true
172174
ccache -M 50G
173175

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

178180
# check rom type and assign gapps type and rom type
179181
if [ $FOSTERTYPE = "t" ];

0 commit comments

Comments
 (0)