mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-12-25 07:29:24 -05:00
16.0: drop support for all devices compiling on 17.1
This commit is contained in:
parent
96d6d74534
commit
aa3d0aeac5
@ -101,46 +101,11 @@
|
||||
<project path="device/asus/zenfone3" name="LineageOS/android_device_asus_zenfone3" remote="github" />
|
||||
<project path="kernel/asus/msm8953" name="LineageOS/android_kernel_asus_msm8953" remote="github" />
|
||||
|
||||
<!-- Fairphone 3 (FP3) -->
|
||||
<project path="device/fairphone/FP3" name="LineageOS/android_device_fairphone_FP3" remote="github" />
|
||||
<project path="kernel/fairphone/sdm632" name="LineageOS/android_kernel_fairphone_sdm632" remote="github" />
|
||||
|
||||
<!-- F(x)tec Pro¹ (pro1) -->
|
||||
<project path="device/fxtec/pro1" name="LineageOS/android_device_fxtec_pro1" remote="github" />
|
||||
<project path="kernel/fxtec/msm8998" name="LineageOS/android_kernel_fxtec_msm8998" remote="github" />
|
||||
|
||||
<!-- Google Project Tango (yellowstone) -->
|
||||
<project path="device/google/yellowstone" name="LineageOS/android_device_google_yellowstone" remote="github" />
|
||||
<project path="kernel/google/yellowstone" name="LineageOS/android_kernel_google_yellowstone" remote="github" />
|
||||
<project path="hardware/nvidia/libstagefrighthw" name="LineageOS/android_hardware_nvidia_libstagefrighthw" remote="github" />
|
||||
|
||||
<!-- Google Pixel 3 (crosshatch/blueline) -->
|
||||
<project path="device/google/crosshatch" name="LineageOS/android_device_google_crosshatch" remote="github" />
|
||||
<project path="device/google/blueline" name="LineageOS/android_device_google_blueline" remote="github" />
|
||||
<project path="kernel/google/crosshatch" name="LineageOS/android_kernel_google_crosshatch" remote="github" />
|
||||
|
||||
<!-- Google Pixel 3a (bonito/sargo) -->
|
||||
<project path="device/google/bonito" name="LineageOS/android_device_google_bonito" remote="github" />
|
||||
<project path="device/google/sargo" name="LineageOS/android_device_google_sargo" remote="github" />
|
||||
<project path="kernel/google/bonito" name="LineageOS/android_kernel_google_bonito" remote="github" />
|
||||
|
||||
<!-- LG G2 (d802) -->
|
||||
<project path="device/lge/g2-common" name="LineageOS/android_device_lge_g2-common" remote="github" />
|
||||
<project path="device/lge/d802" name="LineageOS/android_device_lge_d802" remote="github" />
|
||||
<project path="kernel/lge/msm8974" name="LineageOS/android_kernel_lge_msm8974" remote="github" />
|
||||
|
||||
<!-- Moto X 2014 (victara) -->
|
||||
<project path="device/motorola/victara" name="LineageOS/android_device_motorola_victara" remote="github" />
|
||||
<project path="kernel/motorola/msm8974" name="LineageOS/android_kernel_motorola_msm8974" remote="github" />
|
||||
|
||||
<!-- Moto Z (griffin) -->
|
||||
<project path="device/motorola/griffin" name="LineageOS/android_device_motorola_griffin" remote="github" />
|
||||
<project path="kernel/motorola/msm8996" name="LineageOS/android_kernel_motorola_msm8996" remote="github" />
|
||||
|
||||
<!-- Nextbit Robin (ether) -->
|
||||
<project path="device/nextbit/ether" name="LineageOS/android_device_nextbit_ether" remote="github" />
|
||||
<project path="kernel/nextbit/msm8992" name="LineageOS/android_kernel_nextbit_msm8992" remote="github" />
|
||||
|
||||
<!-- Nexus 5 (hammerhead) -->
|
||||
<project path="device/lge/hammerhead" name="LineageOS/android_device_lge_hammerhead" remote="github" />
|
||||
<project path="kernel/lge/hammerhead" name="LineageOS/android_kernel_lge_hammerhead" remote="github" />
|
||||
@ -149,14 +114,6 @@
|
||||
<project path="device/asus/fugu" name="LineageOS/android_device_asus_fugu" remote="github" />
|
||||
<project path="kernel/asus/fugu" name="LineageOS/android_kernel_asus_fugu" remote="github" />
|
||||
|
||||
<!-- OnePlus 2 (oneplus2) -->
|
||||
<project path="device/oneplus/oneplus2" name="LineageOS/android_device_oneplus_oneplus2" remote="github" />
|
||||
<project path="kernel/oneplus/msm8994" name="LineageOS/android_kernel_oneplus_msm8994" remote="github" />
|
||||
|
||||
<!-- OnePlus 3(T) (oneplus3) -->
|
||||
<project path="device/oneplus/oneplus3" name="LineageOS/android_device_oneplus_oneplus3" remote="github" />
|
||||
<project path="kernel/oneplus/msm8996" name="LineageOS/android_kernel_oneplus_msm8996" remote="github" />
|
||||
|
||||
<!-- OnePlus 5 (cheeseburger) -->
|
||||
<project path="device/oneplus/cheeseburger" name="LineageOS/android_device_oneplus_cheeseburger" remote="github" />
|
||||
<project path="device/oneplus/msm8998-common" name="LineageOS/android_device_oneplus_msm8998-common" remote="github" />
|
||||
@ -165,24 +122,6 @@
|
||||
<!-- OnePlus 5T (dumpling) -->
|
||||
<project path="device/oneplus/dumpling" name="LineageOS/android_device_oneplus_dumpling" remote="github" />
|
||||
|
||||
<!-- OnePlus 6 (enchilada) -->
|
||||
<project path="device/oneplus/common" name="LineageOS/android_device_oneplus_common" remote="github" />
|
||||
<project path="device/oneplus/sdm845-common" name="LineageOS/android_device_oneplus_sdm845-common" remote="github" />
|
||||
<project path="device/oneplus/enchilada" name="LineageOS/android_device_oneplus_enchilada" remote="github" />
|
||||
<project path="kernel/oneplus/sdm845" name="LineageOS/android_kernel_oneplus_sdm845" remote="github" />
|
||||
|
||||
<!-- OnePlus 6T (fajita) -->
|
||||
<project path="device/oneplus/fajita" name="LineageOS/android_device_oneplus_fajita" remote="github" />
|
||||
|
||||
<!-- OnePlus 7 Pro (guacamole) -->
|
||||
<project path="device/oneplus/sm8150-common" name="LineageOS/android_device_oneplus_sm8150-common" remote="github" />
|
||||
<project path="device/oneplus/guacamole" name="LineageOS/android_device_oneplus_guacamole" remote="github" />
|
||||
<project path="kernel/oneplus/sm8150" name="LineageOS/android_kernel_oneplus_sm8150" remote="github" />
|
||||
|
||||
<!-- Razer Phone (cheryl) -->
|
||||
<project path="device/razer/cheryl" name="LineageOS/android_device_razer_cheryl" remote="github" />
|
||||
<project path="kernel/razer/msm8998" name="LineageOS/android_kernel_razer_msm8998" remote="github" />
|
||||
|
||||
<!-- Samsung Common -->
|
||||
<project path="device/samsung/qcom-common" name="LineageOS/android_device_samsung_qcom-common" remote="github" />
|
||||
<project path="hardware/samsung" name="LineageOS/android_hardware_samsung" remote="github" />
|
||||
@ -197,26 +136,14 @@
|
||||
<project path="device/cyanogen/msm8916-common" name="LineageOS/android_device_cyanogen_msm8916-common" remote="github" />
|
||||
<project path="kernel/cyanogen/msm8916" name="LineageOS/android_kernel_cyanogen_msm8916" remote="github" />
|
||||
|
||||
<!-- Wileyfox Swift (crackling) -->
|
||||
<project path="device/wileyfox/crackling" name="LineageOS/android_device_wileyfox_crackling" remote="github" />
|
||||
|
||||
<!-- Xiaomi Poco F1 (beryllium) -->
|
||||
<project path="device/xiaomi/beryllium" name="LineageOS/android_device_xiaomi_beryllium" remote="github" />
|
||||
<project path="device/xiaomi/sdm845-common" name="LineageOS/android_device_xiaomi_sdm845-common" remote="github" />
|
||||
<project path="kernel/xiaomi/sdm845" name="LineageOS/android_kernel_xiaomi_sdm845" remote="github" />
|
||||
|
||||
<!-- Yandex Phone (Amber) -->
|
||||
<project path="device/yandex/Amber" name="LineageOS/android_device_yandex_Amber" remote="github" />
|
||||
<project path="kernel/yandex/sdm660" name="LineageOS/android_kernel_yandex_sdm660" remote="github" />
|
||||
|
||||
<!-- Zuk Z1 (ham) -->
|
||||
<project path="device/zuk/ham" name="LineageOS/android_device_zuk_ham" remote="github" />
|
||||
<project path="kernel/cyanogen/msm8974" name="LineageOS/android_kernel_cyanogen_msm8974" remote="github" />
|
||||
|
||||
<!-- Zuk Z2 Plus (z2_plus) -->
|
||||
<project path="device/zuk/z2_plus" name="LineageOS/android_device_zuk_z2_plus" remote="github" />
|
||||
<project path="device/zuk/msm8996-common" name="LineageOS/android_device_zuk_msm8996-common" remote="github" />
|
||||
<project path="kernel/zuk/msm8996" name="LineageOS/android_kernel_zuk_msm8996" remote="github" />
|
||||
<!-- END OF DEVICE REPOS -->
|
||||
|
||||
</manifest>
|
||||
|
@ -18,7 +18,7 @@
|
||||
#Last verified: 2018-04-27
|
||||
|
||||
patchAllKernels() {
|
||||
startPatcher "kernel_asus_fugu kernel_asus_msm8953 kernel_cyanogen_msm8916 kernel_cyanogen_msm8974 kernel_fairphone_sdm632 kernel_fxtec_msm8998 kernel_google_bonito kernel_google_crosshatch kernel_google_msm kernel_google_wahoo kernel_google_yellowstone kernel_lge_hammerhead kernel_lge_msm8974 kernel_motorola_msm8974 kernel_motorola_msm8996 kernel_nextbit_msm8992 kernel_oneplus_msm8994 kernel_oneplus_msm8996 kernel_oneplus_msm8998 kernel_oneplus_sdm845 kernel_oneplus_sm8150 kernel_razer_msm8998 kernel_samsung_smdk4412 kernel_xiaomi_sdm845 kernel_yandex_sdm660 kernel_zuk_msm8996";
|
||||
startPatcher "kernel_asus_fugu kernel_asus_msm8953 kernel_cyanogen_msm8916 kernel_cyanogen_msm8974 kernel_google_msm kernel_google_yellowstone kernel_lge_hammerhead kernel_oneplus_msm8998 kernel_samsung_smdk4412 kernel_xiaomi_sdm845";
|
||||
}
|
||||
export -f patchAllKernels;
|
||||
|
||||
@ -67,50 +67,17 @@ buildAll() {
|
||||
buildDevice kipper;
|
||||
#SD625
|
||||
buildDevice zenfone3; #broken - ninja: error: 'android.hidl.base@1.0.so', missing and no known rule to make it
|
||||
#SD835
|
||||
buildDevice cheeseburger verity; #needs manual patching - vendor common makefile #17.1 isn't booting
|
||||
buildDevice dumpling verity;
|
||||
#SD845
|
||||
buildDevice beryllium;
|
||||
#Samsung
|
||||
buildDeviceUserDebug i9100; #broken - many errors in hardware/samsung/exynos4
|
||||
#Intel
|
||||
buildDevice fugu; #broken - ninja: error: 'libpcre2.so' missing and no known rule to make it
|
||||
|
||||
buildDevice cheeseburger verity; #needs manual patching - vendor common makefile #17.1 isn't booting
|
||||
buildDevice dumpling verity;
|
||||
#Tegra
|
||||
buildDevice yellowstone; #broken sepolicy?
|
||||
if [ "$DOS_BUILDALL_SUPERSEDED" = true ]; then
|
||||
#SD410
|
||||
buildDevice crackling;
|
||||
#SD600
|
||||
buildDevice jfltexx;
|
||||
#SD800
|
||||
buildDevice d802;
|
||||
#SD801
|
||||
buildDevice victara;
|
||||
#SD808
|
||||
buildDevice ether;
|
||||
#SD810
|
||||
buildDevice oneplus2;
|
||||
#SD820
|
||||
buildDevice oneplus3 verity;
|
||||
buildDevice griffin;
|
||||
buildDevice z2_plus verity;
|
||||
#SD632
|
||||
buildDevice FP3 avb;
|
||||
#SD835
|
||||
buildDevice cheryl verity;
|
||||
#SD845
|
||||
buildDevice beryllium;
|
||||
buildDevice crosshatch avb;
|
||||
buildDevice blueline avb;
|
||||
buildDevice enchilada avb;
|
||||
buildDevice fajita avb;
|
||||
buildDevice pro1 avb;
|
||||
#SD855
|
||||
buildDevice guacamole avb;
|
||||
#SD660
|
||||
buildDevice Amber verity;
|
||||
#SD670
|
||||
buildDevice bonito avb;
|
||||
buildDevice sargo avb;
|
||||
fi;
|
||||
}
|
||||
export -f buildAll;
|
||||
|
||||
|
@ -234,45 +234,16 @@ echo "PRODUCT_PACKAGES += vendor.lineage.trust@1.0-service" >> packages.mk; #All
|
||||
enterAndClear "device/asus/zenfone3";
|
||||
rm -rf libhidl; #breaks other devices
|
||||
|
||||
enterAndClear "device/fairphone/FP3";
|
||||
enableVerity; #Resurrect dm-verity
|
||||
|
||||
enterAndClear "device/fxtec/pro1";
|
||||
enableVerity; #Resurrect dm-verity
|
||||
|
||||
enterAndClear "device/google/bonito";
|
||||
enableVerity; #Resurrect dm-verity
|
||||
|
||||
enterAndClear "device/google/crosshatch";
|
||||
enableVerity; #Resurrect dm-verity
|
||||
|
||||
enterAndClear "device/google/wahoo";
|
||||
patch -p1 < "$DOS_PATCHES/android_device_google_wahoo/232948.patch"; #liblight: close fd
|
||||
|
||||
enterAndClear "device/lge/g2-common";
|
||||
sed -i '3itypeattribute hwaddrs misc_block_device_exception;' sepolicy/hwaddrs.te;
|
||||
|
||||
enterAndClear "device/lge/hammerhead";
|
||||
git am $DOS_PATCHES/android_device_lge_hammerhead/*.patch; #hh-p-sepolicy
|
||||
rm -rf bdAddrLoader; #duplicate with mako
|
||||
echo "SELINUX_IGNORE_NEVERALLOWS := true" >> BoardConfig.mk; #qcom-legacy sepolicy
|
||||
|
||||
enterAndClear "device/oneplus/oneplus2";
|
||||
sed -i 's|etc/permissions/qti_libpermissions.xml|vendor/etc/permissions/qti_libpermissions.xml|' proprietary-files.txt;
|
||||
|
||||
enterAndClear "device/oneplus/msm8998-common";
|
||||
patch -p1 < "$DOS_PATCHES_COMMON/android_device_audio/0001-No_Vorbis_Offload.patch"; #Fix Ogg Vorbis playback
|
||||
awk -i inplace '!/TARGET_RELEASETOOLS_EXTENSIONS/' BoardConfigCommon.mk; #disable releasetools to fix delta ota generation
|
||||
|
||||
enterAndClear "device/oneplus/sm8150-common";
|
||||
enableVerity; #Resurrect dm-verity
|
||||
|
||||
enterAndClear "device/zuk/msm8996-common";
|
||||
awk -i inplace '!/WfdCommon/' msm8996.mk; #fix breakage
|
||||
|
||||
enterAndClear "kernel/google/wahoo";
|
||||
sed -i 's/asm(SET_PSTATE_UAO(1));/asm(SET_PSTATE_UAO(1)); return 0;/' arch/arm64/mm/fault.c; #fix build with CONFIG_ARM64_UAO
|
||||
|
||||
#Make changes to all devices
|
||||
cd "$DOS_BUILD_BASE";
|
||||
if [ "$DOS_LOWRAM_ENABLED" = true ]; then find "device" -maxdepth 2 -mindepth 2 -type d -print0 | xargs -0 -n 1 -P 8 -I {} bash -c 'enableLowRam "{}"'; fi;
|
||||
@ -292,9 +263,6 @@ removeBuildFingerprints;
|
||||
sed -i "s/CONFIG_STRICT_MEMORY_RWX=y/# CONFIG_STRICT_MEMORY_RWX is not set/" kernel/asus/msm8953/arch/arm64/configs/*_defconfig; #Breaks on compile
|
||||
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_DEBUG_RODATA=y/# CONFIG_DEBUG_RODATA is not set/" kernel/google/yellowstone/arch/arm*/configs/*_defconfig; #Breaks on compile
|
||||
sed -i "s/CONFIG_DEBUG_RODATA=y/# CONFIG_DEBUG_RODATA is not set/" kernel/motorola/msm8974/arch/arm/configs/lineageos_*_defconfig; #Breaks on compile
|
||||
sed -i "s/CONFIG_STRICT_MEMORY_RWX=y/# CONFIG_STRICT_MEMORY_RWX is not set/" kernel/motorola/msm8996/arch/arm64/configs/*_defconfig; #Breaks on compile
|
||||
sed -i "s/CONFIG_STRICT_MEMORY_RWX=y/# CONFIG_STRICT_MEMORY_RWX is not set/" kernel/oneplus/msm8996/arch/arm64/configs/lineageos_*_defconfig; #Breaks on compile
|
||||
|
||||
sed -i 's/YYLTYPE yylloc;/extern YYLTYPE yylloc;/' kernel/*/*/scripts/dtc/dtc-lexer.l*; #Fix builds with GCC 10
|
||||
rm -v kernel/*/*/drivers/staging/greybus/tools/Android.mk;
|
||||
|
Loading…
Reference in New Issue
Block a user