• Home
  • Raw
  • Download

Lines Matching +full:build +full:- +full:packages

2 --------
11 --------
13 compilers, tracers, perl/python etc) for your on-device development.
15 2. No more cross-compiler needed: Because it comes with gcc and clang, one can
16 build target packages natively without needing to do any cross compilation. We even
17 ship git, and have support to run apt-get to get any missing development packages
21 in an Android environment due to lack of packages, dependencies and
22 cross-compilation needed for their operation. [Check BCC on Android using
26 4. No more crippled tools: Its often a theme to build a static binary with
27 features disabled, because you couldn't cross-compile the feature's dependencies. One
28 classic example is perf. However, thanks to adeb, we can build perf natively
32 ------------------------
35 this is a build in a userdebug configuration. Device should have atleast 2 GB
37 …/github.com/joelagnel/adeb/blob/master/README.md#how-to-use-adeb-for-other-architectures-other-tha…
41 Host needs debootstrap and qemu-debootstrap packages.
42 To install it, run `sudo apt-get install qemu-user-static debootstrap`.
46 ------------------------
52 sudo ln -s $(pwd)/adeb /usr/bin/adeb
54 # Cached image downloads result in a huge speed-up. These are automatic if you
72 adeb prepare --full
85 If you have multiple devices connected, please add `-s <serialnumber>`.
90 adeb git-pull
94 --------------------------------
97 adeb prepare --kernelsrc /path/to/kernel-source
104 adeb prepare --kernelsrc /path/to/kernel-source --skip-install
106 Note: The kernel sources should have been built (atleast build should have started).
108 ### Build and prepare device with a custom rootfs locally:
110 The adeb fs will be prepared locally by downloading packages as needed:
112 adeb prepare --build
116 If you wish to do a full build (that is locally prepare a rootfs with all packages, including bcc, …
118 adeb prepare --full --build
123 adeb prepare --build --kernelsrc /path/to/kernel-source/
126 ### Build/install a base image with BCC:
128 adeb prepare --build --bcc --kernelsrc /path/to/kernel-source/
130 Note: BCC is built from source. Also `--kernelsrc` is recommended for tools to
135 adeb prepare --buildtar /path/
138 and store it as a tar archive at `/path/adeb-fs.tgz`. This
143 adeb prepare --archive /path/adeb-fs.tgz
146 ### Build a standalone raw EXT4 image out of the FS:
148 adeb prepare --build-image /path/to/image.img
150 This can then be passed to Qemu as -hda. Note: This option doesn't need a
155 processor architecture. For other architectures, use the --arch option. For
158 adeb prepare --build --arch amd64 --bcc --kernelsrc /path/to/kernel-source/
160 Note: The --download option ignores the --arch flag. This is because we only
161 provide pre-built filesystems for ARM64 at the moment.
164 -----------------
165 1. Installing g++ with `apt-get install g++` fails.
167 Solution: Run `adeb shell apt-get update` after the `adeb prepare` stage.