Add support for rs988, h990, and h870

This commit is contained in:
Tad 2020-11-29 19:19:43 -05:00
parent 09722044b0
commit 26cda44016
6 changed files with 28 additions and 10 deletions

View file

@ -102,9 +102,12 @@ buildAll() {
buildDevice oneplus3;
buildDevice griffin;
buildDevice h850;
buildDevice rs988;
buildDevice h990;
buildDevice us996;
buildDevice marlin verity;
buildDevice sailfish verity;
buildDevice h870;
buildDevice us997;
buildDevice dragon verity;
buildDevice fugu;
@ -137,13 +140,14 @@ patchWorkspace() {
##setup-makefiles doesn't execute properly for some devices, running it twice seems to fix whatever is wrong
cd device/asus/Z00T && ./setup-makefiles.sh && cd "$DOS_BUILD_BASE";
cd device/lge/h850 && ./setup-makefiles.sh && cd "$DOS_BUILD_BASE";
cd device/lge/rs988 && ./setup-makefiles.sh && cd "$DOS_BUILD_BASE";
}
export -f patchWorkspace;
enableDexPreOpt() {
cd "$DOS_BUILD_BASE$1";
#Some devices won't compile, or have too small of a /system partition, or Wi-Fi breaks
if [ "$1" != "device/amazon/thor" ] && [ "$1" != "device/samsung/i9100" ] && [ "$1" != "device/samsung/maguro" ] && [ "$1" != "device/samsung/toro" ] && [ "$1" != "device/samsung/toroplus" ] && [ "$1" != "device/samsung/tuna" ] && [ "$1" != "device/lge/h850" ] && [ "$1" != "device/lge/mako" ] && [ "$1" != "device/asus/grouper" ]; then
if [ "$1" != "device/amazon/thor" ] && [ "$1" != "device/samsung/i9100" ] && [ "$1" != "device/samsung/maguro" ] && [ "$1" != "device/samsung/toro" ] && [ "$1" != "device/samsung/toroplus" ] && [ "$1" != "device/samsung/tuna" ] && [ "$1" != "device/lge/h850" ] && [ "$1" != "device/lge/rs988" ] && [ "$1" != "device/lge/mako" ] && [ "$1" != "device/asus/grouper" ]; then
if [ -f BoardConfig.mk ]; then
echo "WITH_DEXPREOPT := true" >> BoardConfig.mk;
echo "WITH_DEXPREOPT_PIC := true" >> BoardConfig.mk;

View file

@ -60,6 +60,7 @@ buildAll() {
buildDevice angler verity;
buildDevice Z00T; #broken - needs vendor patching
buildDevice axon7; #broken - needs vendor patching
buildDevice h870;
buildDevice us997;
buildDevice flounder verity;
buildDevice dragon verity;
@ -85,8 +86,10 @@ buildAll() {
buildDevice ether;
buildDevice kipper;
buildDevice oneplus3;
buildDevice h990;
buildDevice us996;
buildDevice h850; #broken
buildDevice rs988;
buildDevice griffin;
buildDevice marlin verity;
buildDevice sailfish verity;
@ -125,13 +128,14 @@ patchWorkspace() {
#Deblobbing fixes
##setup-makefiles doesn't execute properly for some devices, running it twice seems to fix whatever is wrong
cd device/lge/h850 && ./setup-makefiles.sh && cd "$DOS_BUILD_BASE";
cd device/lge/rs988 && ./setup-makefiles.sh && cd "$DOS_BUILD_BASE";
}
export -f patchWorkspace;
enableDexPreOpt() {
cd "$DOS_BUILD_BASE$1";
#Some devices won't compile, or have too small of a /system partition, or Wi-Fi breaks
if [ "$1" != "device/lge/h850" ] && [ "$1" != "device/lge/mako" ]; then
if [ "$1" != "device/lge/h850" ] && [ "$1" != "device/lge/rs988" ] && [ "$1" != "device/lge/mako" ]; then
if [ -f BoardConfig.mk ]; then
echo "WITH_DEXPREOPT := true" >> BoardConfig.mk;
echo "WITH_DEXPREOPT_PIC := true" >> BoardConfig.mk;

View file

@ -82,6 +82,8 @@ buildAll() {
buildDevice oneplus2;
#SD820
buildDevice h850;
buildDevice rs988;
buildDevice h990;
buildDevice us996;
buildDevice griffin;
buildDevice oneplus3 verity;