From b144040addbca9112cc32da8428543cbf023f199 Mon Sep 17 00:00:00 2001 From: Tanuj Tekriwal Date: Tue, 17 Sep 2024 08:16:35 +0000 Subject: [PATCH] Enable Displaying lunch menu for A15 This patch will set the TARGET_RELEASE version and enable lunch menu options list. TARGET_RELEASE needs to be updated based on new AOSP updates. Tests Done: source and lunch Tracked-On: OAM-121983 Signed-off-by: Tanuj Tekriwal --- vendorsetup.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/vendorsetup.sh b/vendorsetup.sh index 6c328b8203..51f9c94771 100755 --- a/vendorsetup.sh +++ b/vendorsetup.sh @@ -35,8 +35,12 @@ function lunch } # Get the exact value of a build variable. -function get_build_var() +function _get_build_var_cached() { + # Set the TARGET_RELEASE variable to the release_config for + # which we want to build CELADON. It should be one among + # $(TOP)/build/release/release_configs/* + TARGET_RELEASE=ap3a if [ "$1" = "COMMON_LUNCH_CHOICES" ] then valid_targets=`mixinup -t` @@ -46,7 +50,8 @@ function get_build_var() array=(${t/-/ }) target=${array[0]} if [[ "${valid_targets}" =~ "$target" ]]; then - LUNCH_MENU_CHOICES+=($t) + tgt=$target-$TARGET_RELEASE-${array[1]} + LUNCH_MENU_CHOICES+=($tgt) fi done echo ${LUNCH_MENU_CHOICES[@]}