envsetup: Fix breakfast

Change-Id: I9742638765f323876bffcdd0d9c1131d28a54614
This commit is contained in:
Michael Bestas 2024-03-06 12:57:32 +02:00 committed by Michael Bestas
parent abcc4179d3
commit a0003041e1
2 changed files with 4 additions and 1 deletions

View File

@ -69,6 +69,7 @@ function breakfast()
{
target=$1
local variant=$2
source ${ANDROID_BUILD_TOP}/vendor/lineage/vars/aosp_target_release
if [ $# -eq 0 ]; then
# No arguments, so let's have the full menu
@ -83,7 +84,7 @@ function breakfast()
variant="userdebug"
fi
lunch lineage_$target-$variant
lunch lineage_$target-$aosp_target_release-$variant
fi
fi
return $?

2
vars/aosp_target_release Normal file
View File

@ -0,0 +1,2 @@
# Updated manually
aosp_target_release=ap1a