diff --git a/README.md b/README.md index 9dac325..dd5451d 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Clone both this and the patches repos: 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! diff --git a/buildbot_unified.sh b/buildbot_unified.sh index 36e1987..7e35fe3 100755 --- a/buildbot_unified.sh +++ b/buildbot_unified.sh @@ -113,16 +113,18 @@ build_device() { build_treble() { case "${1}" in - ("A64B") TARGET=a64_bvS;; - ("A64BG") TARGET=a64_bgS;; - ("64B") TARGET=arm64_bvS;; - ("64BG") TARGET=arm64_bgS;; + ("A64VN") TARGET=a64_bvN; SECURE=true;; + ("A64VS") TARGET=a64_bvS; SECURE=false;; + ("A64GN") TARGET=a64_bgN; SECURE=true;; + ("64VN") TARGET=arm64_bvN; SECURE=true;; + ("64VS") TARGET=arm64_bvS; SECURE=false;; + ("64GN") TARGET=arm64_bgN; SECURE=true;; (*) echo "Invalid target - exiting"; exit 1;; esac lunch lineage_${TARGET}-userdebug make installclean 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 }