mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-11-29 11:46:48 -05:00
Minor tweaks and update CVE patchers
This commit is contained in:
parent
ed6b73793b
commit
f5e79a3d11
26 changed files with 75 additions and 32 deletions
|
|
@ -64,11 +64,13 @@ export -f patchWorkspace;
|
|||
|
||||
enableDexPreOpt() {
|
||||
cd $base$1;
|
||||
if [ -f BoardConfig.mk ]; then
|
||||
echo "WITH_DEXPREOPT := true" >> BoardConfig.mk;
|
||||
echo "WITH_DEXPREOPT_PIC := true" >> BoardConfig.mk;
|
||||
echo "WITH_DEXPREOPT_BOOT_IMG_ONLY := true" >> BoardConfig.mk;
|
||||
echo "Enabled dexpreopt for $1";
|
||||
if [ $1 != "device/amazon/thor" ]; then #Some devices won't compile
|
||||
if [ -f BoardConfig.mk ]; then
|
||||
echo "WITH_DEXPREOPT := true" >> BoardConfig.mk;
|
||||
echo "WITH_DEXPREOPT_PIC := true" >> BoardConfig.mk;
|
||||
echo "WITH_DEXPREOPT_BOOT_IMG_ONLY := true" >> BoardConfig.mk;
|
||||
echo "Enabled dexpreopt for $1";
|
||||
fi;
|
||||
fi;
|
||||
cd $base;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue