14.1: Add apollo

Signed-off-by: Tad <tad@spotco.us>
This commit is contained in:
Tad 2021-10-17 14:01:31 -04:00
parent b78944933c
commit bc443ffee3
4 changed files with 7 additions and 2 deletions

View file

@ -69,6 +69,7 @@ buildAll() {
buildDeviceUserDebug m7;
#SD801
buildDeviceUserDebug thor; #broken encryption
buildDeviceUserDebug apollo;
#SD808
buildDevice clark; #Last version with working IMS
buildDevice h815;
@ -121,7 +122,7 @@ 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/asus/grouper" ] && [ "$1" != "device/samsung/i9100" ] && [ "$1" != "device/samsung/maguro" ] && [ "$1" != "device/samsung/manta" ] && [ "$1" != "device/samsung/toro" ] && [ "$1" != "device/samsung/toroplus" ] && [ "$1" != "device/samsung/tuna" ]; then
if [ "$1" != "device/amazon/thor" ] && [ "$1" != "device/amazon/apollo" ] && [ "$1" != "device/asus/grouper" ] && [ "$1" != "device/samsung/i9100" ] && [ "$1" != "device/samsung/maguro" ] && [ "$1" != "device/samsung/manta" ] && [ "$1" != "device/samsung/toro" ] && [ "$1" != "device/samsung/toroplus" ] && [ "$1" != "device/samsung/tuna" ]; then
if [ -f BoardConfig.mk ]; then
echo "WITH_DEXPREOPT := true" >> BoardConfig.mk;
echo "WITH_DEXPREOPT_PIC := true" >> BoardConfig.mk;