mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-12-28 08:59:40 -05:00
Add support for rs988, h990, and h870
This commit is contained in:
parent
09722044b0
commit
26cda44016
@ -137,20 +137,23 @@
|
||||
<project path="device/lge/h815" name="LineageOS/android_device_lge_h815" remote="github" />
|
||||
<project path="kernel/lge/msm8992" name="LineageOS/android_kernel_lge_msm8992" remote="github" />
|
||||
|
||||
<!-- LG G5 (h850) -->
|
||||
<!-- LG G5 (h850:intl, rs988:us) -->
|
||||
<project path="device/lge/common" name="LineageOS/android_device_lge_common" remote="github" />
|
||||
<project path="device/lge/g5-common" name="LineageOS/android_device_lge_g5-common" remote="github" />
|
||||
<project path="device/lge/h850" name="LineageOS/android_device_lge_h850" remote="github" />
|
||||
<project path="device/lge/rs988" name="LineageOS/android_device_lge_rs988" remote="github" />
|
||||
<project path="device/lge/msm8996-common" name="LineageOS/android_device_lge_msm8996-common" remote="github" />
|
||||
<project path="kernel/lge/msm8996" name="LineageOS/android_kernel_lge_msm8996" remote="github" />
|
||||
|
||||
<!-- LG V20 (us996) -->
|
||||
<!-- LG V20 (h990:intl, us996:us) -->
|
||||
<project path="device/lge/v20-common" name="LineageOS/android_device_lge_v20-common" remote="github" />
|
||||
<project path="device/lge/h990" name="LineageOS/android_device_lge_h990" remote="github" />
|
||||
<project path="device/lge/us996" name="LineageOS/android_device_lge_us996" remote="github" />
|
||||
<!-- uses lge msm8996 commons -->
|
||||
|
||||
<!-- LG G6 (us997) -->
|
||||
<!-- LG G6 (h870:intl, us997:us) -->
|
||||
<project path="device/lge/g6-common" name="LineageOS/android_device_lge_g6-common" remote="github" />
|
||||
<project path="device/lge/h870" name="LineageOS/android_device_lge_h870" remote="github" />
|
||||
<project path="device/lge/us997" name="LineageOS/android_device_lge_us997" remote="github" />
|
||||
<!-- uses lge msm8996 commons -->
|
||||
|
||||
|
@ -153,20 +153,23 @@
|
||||
<project path="device/lge/d855" name="LineageOS/android_device_lge_d855" remote="github" />
|
||||
<project path="kernel/lge/g3" name="LineageOS/android_kernel_lge_g3" remote="github" />
|
||||
|
||||
<!-- LG G5 (h850) -->
|
||||
<!-- LG G5 (h850:intl, rs988:us) -->
|
||||
<project path="device/lge/common" name="LineageOS/android_device_lge_common" remote="github" />
|
||||
<project path="device/lge/g5-common" name="LineageOS/android_device_lge_g5-common" remote="github" />
|
||||
<project path="device/lge/h850" name="LineageOS/android_device_lge_h850" remote="github" />
|
||||
<project path="device/lge/rs988" name="LineageOS/android_device_lge_rs988" remote="github" />
|
||||
<project path="device/lge/msm8996-common" name="LineageOS/android_device_lge_msm8996-common" remote="github" />
|
||||
<project path="kernel/lge/msm8996" name="LineageOS/android_kernel_lge_msm8996" remote="github" />
|
||||
|
||||
<!-- LG V20 (us996) -->
|
||||
<!-- LG V20 (h990:intl, us996:us) -->
|
||||
<project path="device/lge/v20-common" name="LineageOS/android_device_lge_v20-common" remote="github" />
|
||||
<project path="device/lge/h990" name="LineageOS/android_device_lge_h990" remote="github" />
|
||||
<project path="device/lge/us996" name="LineageOS/android_device_lge_us996" remote="github" />
|
||||
<!-- uses lge msm8996 commons -->
|
||||
|
||||
<!-- LG G6 (us997) -->
|
||||
<!-- LG G6 (h870:intl, us997:us) -->
|
||||
<project path="device/lge/g6-common" name="LineageOS/android_device_lge_g6-common" remote="github" />
|
||||
<project path="device/lge/h870" name="LineageOS/android_device_lge_h870" remote="github" />
|
||||
<project path="device/lge/us997" name="LineageOS/android_device_lge_us997" remote="github" />
|
||||
<!-- uses lge msm8996 commons -->
|
||||
|
||||
|
@ -158,15 +158,17 @@
|
||||
<project path="device/lge/d855" name="LineageOS/android_device_lge_d855" remote="github" />
|
||||
<project path="kernel/lge/g3" name="LineageOS/android_kernel_lge_g3" remote="github" />
|
||||
|
||||
<!-- LG G5 (h850) -->
|
||||
<!-- LG G5 (h850:intl, rs988:us) -->
|
||||
<project path="device/lge/common" name="LineageOS/android_device_lge_common" remote="github" />
|
||||
<project path="device/lge/g5-common" name="LineageOS/android_device_lge_g5-common" remote="github" />
|
||||
<project path="device/lge/h850" name="LineageOS/android_device_lge_h850" remote="github" />
|
||||
<project path="device/lge/rs988" name="LineageOS/android_device_lge_rs988" remote="github" />
|
||||
<project path="device/lge/msm8996-common" name="LineageOS/android_device_lge_msm8996-common" remote="github" />
|
||||
<project path="kernel/lge/msm8996" name="LineageOS/android_kernel_lge_msm8996" remote="github" />
|
||||
|
||||
<!-- LG V20 (us996) -->
|
||||
<!-- LG V20 (h990:intl, us996:us) -->
|
||||
<project path="device/lge/v20-common" name="LineageOS/android_device_lge_v20-common" remote="github" />
|
||||
<project path="device/lge/h990" name="LineageOS/android_device_lge_h990" remote="github" />
|
||||
<project path="device/lge/us996" name="LineageOS/android_device_lge_us996" remote="github" />
|
||||
<!-- uses lge msm8996 commons -->
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -82,6 +82,8 @@ buildAll() {
|
||||
buildDevice oneplus2;
|
||||
#SD820
|
||||
buildDevice h850;
|
||||
buildDevice rs988;
|
||||
buildDevice h990;
|
||||
buildDevice us996;
|
||||
buildDevice griffin;
|
||||
buildDevice oneplus3 verity;
|
||||
|
Loading…
Reference in New Issue
Block a user