Minor tweaks and update CVE patchers

This commit is contained in:
Tad 2018-01-30 02:18:38 -05:00
parent ed6b73793b
commit f5e79a3d11
26 changed files with 75 additions and 32 deletions

View file

@ -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;
}