Changes for November 2022

This commit is contained in:
Andy CrossGate Yan 2022-11-23 12:27:09 +00:00
parent 06910904b1
commit 4be3e8a1ee
2 changed files with 8 additions and 6 deletions

View File

@ -18,7 +18,7 @@ Clone both this and the patches repos:
Finally, start the build script - for example, to build for all supported archs: Finally, start the build script - for example, to build for all supported archs:
bash lineage_build_unified/buildbot_unified.sh treble A64B A64BG 64B 64BG bash lineage_build_unified/buildbot_unified.sh treble A64VN A64VS A64GN 64VN 64VS 64GN
Be sure to update the cloned repos from time to time! Be sure to update the cloned repos from time to time!

View File

@ -113,16 +113,18 @@ build_device() {
build_treble() { build_treble() {
case "${1}" in case "${1}" in
("A64B") TARGET=a64_bvS;; ("A64VN") TARGET=a64_bvN; SECURE=true;;
("A64BG") TARGET=a64_bgS;; ("A64VS") TARGET=a64_bvS; SECURE=false;;
("64B") TARGET=arm64_bvS;; ("A64GN") TARGET=a64_bgN; SECURE=true;;
("64BG") TARGET=arm64_bgS;; ("64VN") TARGET=arm64_bvN; SECURE=true;;
("64VS") TARGET=arm64_bvS; SECURE=false;;
("64GN") TARGET=arm64_bgN; SECURE=true;;
(*) echo "Invalid target - exiting"; exit 1;; (*) echo "Invalid target - exiting"; exit 1;;
esac esac
lunch lineage_${TARGET}-userdebug lunch lineage_${TARGET}-userdebug
make installclean make installclean
make -j$(nproc --all) systemimage make -j$(nproc --all) systemimage
mv $OUT/system.img ~/build-output/lineage-19.1-$BUILD_DATE-UNOFFICIAL-${TARGET}$(${PERSONAL} && echo "-personal" || echo "").img mv $OUT/system.img ~/build-output/lineage-19.1-$BUILD_DATE-UNOFFICIAL-${TARGET}$(${SECURE} && echo "-secure" || echo "")$(${PERSONAL} && echo "-personal" || echo "").img
make vndk-test-sepolicy make vndk-test-sepolicy
} }