mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-05-02 06:26:20 -04:00
15.1: Build fixes
This commit is contained in:
parent
e16aa10199
commit
910ee5ad76
5 changed files with 12 additions and 9 deletions
|
@ -86,7 +86,7 @@ buildAll() {
|
|||
}
|
||||
export -f buildAll;
|
||||
|
||||
buildAllN03() {
|
||||
buildAllNO3() {
|
||||
brunch lineage_flo-user; #Not affected by size, but breaks: undefined reference to 'mm_jpeg_get_new_session_idx'
|
||||
#Devices incompatible with -O3 due to size constraints
|
||||
#TODO: Consider moving these devices back and simply disabling recovery.img compilation
|
||||
|
|
|
@ -64,7 +64,7 @@ patch -p1 < $patches"android_bootable_recovery/0001-Squash_Menus.patch"; #What's
|
|||
|
||||
enterAndClear "build"
|
||||
patch -p1 < $patches"android_build/0001-Automated_Build_Signing.patch" #Automated build signing. Disclaimer: From CopperheadOS 13.0
|
||||
patch -p1 < $patches"android_build/JustArchis_Optimizations-Rebased.patch" #JustArchi's Compiler Flags XXX: Breaks some devices, see buildAllN03()
|
||||
patch -p1 < $patches"android_build/JustArchis_Optimizations-Rebased.patch" #JustArchi's Compiler Flags XXX: Breaks some devices, see buildAllNO3()
|
||||
sed -i 's/messaging/Silence/' target/product/*.mk; #Replace AOSP Messaging app with Silence
|
||||
|
||||
enterAndClear "device/qcom/sepolicy"
|
||||
|
|
|
@ -59,15 +59,18 @@ buildAll() {
|
|||
#Select devices are userdebug due to SELinux policy issues
|
||||
#TODO: Add victara, griffin, athene, us997, us996, pme, t0lte, hlte
|
||||
brunch lineage_d852-userdebug;
|
||||
brunch lineage_d855-userdebug;
|
||||
}
|
||||
export -f buildAll;
|
||||
|
||||
buildAllN03() {
|
||||
buildAllNO3() {
|
||||
brunch lineage_flo-user; #Not affected by size, but breaks: undefined reference to 'mm_jpeg_get_new_session_idx'
|
||||
}
|
||||
export -f buildAllN03;
|
||||
|
||||
patchWorkspace() {
|
||||
source build/envsetup.sh;
|
||||
repopick 204743 204744;
|
||||
source $scripts/Patch.sh;
|
||||
source $scripts/Defaults.sh;
|
||||
source $scripts/Overclock.sh;
|
||||
|
|
|
@ -59,7 +59,7 @@ cp -r $patches"Fennec_DOS-Shim" $base"packages/apps/"; #Add a shim to install Fe
|
|||
|
||||
enterAndClear "build/make"
|
||||
#patch -p1 < $patches"android_build/0001-Automated_Build_Signing.patch" #Automated build signing. Disclaimer: From CopperheadOS 13.0 TODO: Rebase
|
||||
#patch -p1 < $patches"android_build/0002-JustArchis_Optimizations.patch" #JustArchi's Compiler Flags XXX: Breaks some devices, see buildAllN03() TODO: Rebase
|
||||
#patch -p1 < $patches"android_build/0002-JustArchis_Optimizations.patch" #JustArchi's Compiler Flags XXX: Breaks some devices, see buildAllNO3() TODO: Rebase
|
||||
sed -i 's/messaging/Silence/' target/product/*.mk; #Replace AOSP Messaging app with Silence
|
||||
|
||||
enterAndClear "device/qcom/sepolicy"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue