15.1: Build fixes

This commit is contained in:
Tad 2018-02-12 05:28:24 -05:00
parent e16aa10199
commit 910ee5ad76
5 changed files with 12 additions and 9 deletions

View file

@ -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

View file

@ -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"

View file

@ -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;

View file

@ -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"