lowram tweaks

Signed-off-by: Tad <tad@spotco.us>
This commit is contained in:
Tad 2022-04-11 23:04:42 -04:00
parent b660167e08
commit d078b24ddb
10 changed files with 77 additions and 14 deletions

View file

@ -327,6 +327,9 @@ cd "$DOS_BUILD_BASE";
deblobAudio || true;
removeBuildFingerprints || true;
#Tweaks for <2GB RAM devices
enableLowRam "device/asus/fugu";
#Fix broken options enabled by hardenDefconfig()
sed -i "s/CONFIG_DEBUG_RODATA=y/# CONFIG_DEBUG_RODATA is not set/" kernel/google/msm/arch/arm/configs/lineageos_*_defconfig; #Breaks on compile
sed -i "s/CONFIG_STRICT_MEMORY_RWX=y/# CONFIG_STRICT_MEMORY_RWX is not set/" kernel/lge/msm8996/arch/arm64/configs/lineageos_*_defconfig; #Breaks on compile