mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-08-23 21:25:24 -04:00
Churn
Signed-off-by: Tad <tad@spotco.us>
This commit is contained in:
parent
486e358050
commit
be6b03fe96
15 changed files with 22 additions and 74 deletions
|
@ -187,13 +187,7 @@ export -f enableDexPreOpt;
|
|||
|
||||
enableLowRam() {
|
||||
cd "$DOS_BUILD_BASE$1";
|
||||
if [ -f lineage_$2.mk ]; then
|
||||
echo -e '\n$(call inherit-product, vendor/divested/build/target/product/lowram.mk)' >> lineage_$2.mk;
|
||||
#if [ "$3" = true ]; echo -e '\n$(call inherit-product, vendor/divested/build/target/product/lowram-inprocess.mk)' >> lineage_$2.mk; fi;
|
||||
#if [ "$4" = true ]; echo -e '\n$(call inherit-product, vendor/divested/build/target/product/lowram-inprocess-phone.mk)' >> lineage_$2.mk; fi;
|
||||
fi;
|
||||
#if [ -f BoardConfig.mk ]; then echo 'MALLOC_SVELTE := true' >> BoardConfig.mk; fi; #XXX: Disables use of scudo hardened memory allocator
|
||||
#if [ -f BoardConfigCommon.mk ]; then echo 'MALLOC_SVELTE := true' >> BoardConfigCommon.mk; fi;
|
||||
if [ -f lineage_$2.mk ]; then echo -e '\n$(call inherit-product, vendor/divested/build/target/product/lowram.mk)' >> lineage_$2.mk; fi;
|
||||
echo "Enabled lowram for $1";
|
||||
cd "$DOS_BUILD_BASE";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue