From bad3d2308f8d5435e23c75e0568e0afe636dad63 Mon Sep 17 00:00:00 2001 From: Konsta Date: Tue, 25 Jul 2023 15:50:02 +0300 Subject: [PATCH] add Android TV and Android Automotive build targets --- README.md | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6219f44..cf530a6 100644 --- a/README.md +++ b/README.md @@ -34,15 +34,35 @@ curl --create-dirs -L -o .repo/local_manifests/remove_projects.xml -O -L https:/ repo sync ``` -5. Compile: +5. Setup Android build environment: ``` . build/envsetup.sh +``` + +6. Select build target: + +Tablet UI: +``` lunch aosp_rpi4-userdebug +``` + +Android TV: +``` +lunch aosp_rpi4_tv-userdebug +``` + +Android Automotive: +``` +lunch aosp_rpi4_car-userdebug +``` + +7. Compile: +``` make bootimage systemimage vendorimage -j$(nproc) ``` -6. Make flashable image: +8. Make flashable image: ``` ./rpi4-mkimg.sh