aboutsummaryrefslogtreecommitdiff
path: root/envsetup.sh
diff options
context:
space:
mode:
authorUlya Trafimovich <skvadrik@google.com>2023-06-12 15:33:09 +0100
committerUlya Trafimovich <skvadrik@google.com>2023-06-28 13:58:30 +0100
commit08c381b8b2aab3191400bfae5b3383ae22f59520 (patch)
treee918fce508302225b7d6d91f0b238866f8ef6ec8 /envsetup.sh
parent59f99b31ebd16ebe0f93587b7813481f26225156 (diff)
Add riscv64 banchan target.
Test: banchan riscv64 com.android.art Test: build/soong/build_test.bash --dist -products module_riscv64 Bug: 271573990 Change-Id: I6aa8c51b1a1928b3da52a9345a8bfb84e3eb11d0
Diffstat (limited to 'envsetup.sh')
-rw-r--r--envsetup.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/envsetup.sh b/envsetup.sh
index d292dbb3ad..f4755dd336 100644
--- a/envsetup.sh
+++ b/envsetup.sh
@@ -62,8 +62,8 @@ Invoke ". build/envsetup.sh" from your shell to add the following functions to y
invocations of 'm' etc.
- tapas: tapas [<App1> <App2> ...] [arm|x86|arm64|x86_64] [eng|userdebug|user]
Sets up the build environment for building unbundled apps (APKs).
-- banchan: banchan <module1> [<module2> ...] [arm|x86|arm64|x86_64|arm64_only|x86_64only] \
- [eng|userdebug|user]
+- banchan: banchan <module1> [<module2> ...] \
+ [arm|x86|arm64|riscv64|x86_64|arm64_only|x86_64only] [eng|userdebug|user]
Sets up the build environment for building unbundled modules (APEXes).
- croot: Changes directory to the top of the tree, or a subdirectory thereof.
- m: Makes from the top of the tree.
@@ -952,9 +952,9 @@ function tapas()
function banchan()
{
local showHelp="$(echo $* | xargs -n 1 echo | \grep -E '^(help)$' | xargs)"
- local product="$(echo $* | xargs -n 1 echo | \grep -E '^(.*_)?(arm|x86|arm64|x86_64|arm64only|x86_64only)$' | xargs)"
+ local product="$(echo $* | xargs -n 1 echo | \grep -E '^(.*_)?(arm|x86|arm64|riscv64|x86_64|arm64only|x86_64only)$' | xargs)"
local variant="$(echo $* | xargs -n 1 echo | \grep -E '^(user|userdebug|eng)$' | xargs)"
- local apps="$(echo $* | xargs -n 1 echo | \grep -E -v '^(user|userdebug|eng|(.*_)?(arm|x86|arm64|x86_64))$' | xargs)"
+ local apps="$(echo $* | xargs -n 1 echo | \grep -E -v '^(user|userdebug|eng|(.*_)?(arm|x86|arm64|riscv64|x86_64))$' | xargs)"
if [ "$showHelp" != "" ]; then
$(gettop)/build/make/banchanHelp.sh
@@ -980,6 +980,7 @@ function banchan()
arm) product=module_arm;;
x86) product=module_x86;;
arm64) product=module_arm64;;
+ riscv64) product=module_riscv64;;
x86_64) product=module_x86_64;;
arm64only) product=module_arm64only;;
x86_64only) product=module_x86_64only;;