-
Notifications
You must be signed in to change notification settings - Fork 0
/
banner
56 lines (44 loc) · 2.52 KB
/
banner
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
if [ -d "BUILD_VOLUME/aosp13/build" ] ; then
cd BUILD_VOLUME/aosp13
. ./build/envsetup.sh
cat <<EOT
Your environment is set up to build an AOSP image. You'll need to specify a
build target using the 'lunch' command. The following targets are expected
to work in this container and should be a good starting point for your
project:
|------------------------|----------------------|-----------------------------|
| Machine | Lunch Target | Emulator |
|------------------------|----------------------|-----------------------------|
| AOSP Phonse on x86_64 | sdk_phone_x86_64 | Goldfish (QEMU backend) |
| basic emulator | | |
|------------------------|----------------------|-----------------------------|
| AOSP Phone on x86_64 | aosp_cf_x86_64_phone | Cuttlefish (QEMU or CrosVM) |
| advanced emulator | | |
|------------------------|----------------------|-----------------------------|
| AOSP Automotive (AAOS) | aosp_cf_x86_auto | Cuttlefish (QEMU or CrosVM) |
| x86 advanced emulator | | |
|------------------------|----------------------|-----------------------------|
| AOSP on aarch64 QEMU | fvp | Stock QEMU / ARM FVP |
| with graphics | | |
|------------------------|----------------------|-----------------------------|
| AOSP on aarch64 QEMU | fvp_mini | Stock QEMU / ARM FVP |
| without graphics | | |
|------------------------|----------------------|-----------------------------|
For example, to build a Goldfish Emulator image:
$ lunch sdk_phone_x86_64
EOT
else
cat <<EOT
Unable to locate an AOSP source tree in the expected location:
BUILD_VOLUME/aosp13
You may have started the container without a volume mapping for your Android
source tree. If so, you should restart the container including the following
options on your 'docker run' command line or add an appropriate volume mapping
entry to your Docker compose file:
--mount type=bind,src=<path_to_aosp>,target=BUILD_VOLUME/aosp13
If you have placed your source tree at a different location, you may access
it from there and set up your build environment by sourcing the
build/envsetup.sh script located in your aosp13 source tree.
EOT
fi
# vi:ft=sh