summaryrefslogtreecommitdiffstats
path: root/package/android-tools
Commit message (Collapse)AuthorAgeFilesLines
* libselinux: bump to version 2.5Adam Duskett2016-07-011-2/+4
| | | | | | | | | | | | | | | | | | In addition, if a user is using glibc 2.22, the default CFLAG D_FILE_OFFSET_BITS=64 will cause a compile error. This flag is now removed from the CFLAGS in the make file to ensure that toolchains compiled against glibc 2.22 will build the new version of the package properly. In addition, libselinux now uses fts(), which is not available on musl, and not provided by our default uClibc configuration. Therefore, libselinux now depends on glibc, as well as all its reverse dependencies. Signed-off-by: Adam Duskett <Aduskett@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> [Thomas: add glibc dependency for fts().] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* android-tools: fix build on big endian systemsThomas Petazzoni2016-05-171-0/+61
| | | | | | | | | | | | | | | | This commit adds a patch to the android-tools package to make it build properly on big-endian systems. Fixes: http://autobuild.buildroot.net/results/1b8ace1a083b419c1ab913fda0d36a1d2d910f13/ (PowerPC) http://autobuild.buildroot.net/results/5bb304c91367f1570903c8c527b387c65e572e56/ (Xtensa) Cc: Gary Bisson <gary.bisson@boundarydevices.com> Cc: Antoine Tenart <antoine.tenart@free-electrons.com> Cc: Julien Corjon <corjon.j@ecagroup.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* android-tools: add patch to fix static linkingThomas Petazzoni2016-05-151-0/+36
| | | | | | | | Fixes: http://autobuild.buildroot.net/results/c3b95741a5f6622dc9542f9eaefe295a328e2e40/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* android-tools: needs thread supportThomas Petazzoni2016-05-151-0/+5
| | | | | | | | | | | | Both adb and adbd use <pthread.h>, and fastboot needs thread due to its dependency on libselinux, so we put the dependency in the top-level android-tools Config.in option. Fixes: http://autobuild.buildroot.net/results/bafadedc0ae91f8a1e26d14f30b37d6bb9486816/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/android-tools: fix the select logicThomas Petazzoni2016-05-151-2/+2
| | | | | | | | | | | | | | | The android-tools Config.in.host has some logic to ensure that at least one of its sub-options is enabled. However, this logic incorrectly uses the sub-option names from the *target* android-tools package, while it should be using the ones from the *host* android-tools package. Fixes the following kconfig warning: warning: (BR2_PACKAGE_HOST_ANDROID_TOOLS) selects BR2_PACKAGE_ANDROID_TOOLS_ADB which has unmet direct dependencies (BR2_PACKAGE_ANDROID_TOOLS && BR2_USE_MMU) Reported-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/android-tools: fix indentation in Config.in.hostSamuel Martin2016-05-151-17/+17
| | | | | Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* android-tools: fix dependency on libselinuxThomas Petazzoni2016-05-151-5/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The fastboot sub-option of android-tools did not properly replicate the dependency of libselinux, which it is selecting. Due to this, an invalid configuration could be generated, with fastboot selected while thread support is not available for example (and therefore libselinux is not available). This problem was causing the following build failure: http://autobuild.buildroot.net/results/21e45cee04fd983c85c6702595ee3f7ed8470931/ This is fixed by replicating the selinux dependencies in the fastboot sub-option and adding the relevant Config.in comment. In addition, the main android-tools option had some logic to make sure at least one of its sub-option is enabled: adbd by default on systems with MMU, and fastboot by default on systems without MMU (because fastboot is the only part that builds on noMMU systems). However, with the new dependencies in the fastboot sub-option, this logic would have become a lot more complicated. Since fastboot is very unlikely to be used on noMMU systems, we simply make the whole package not available on noMMU systems. Cc: Gary Bisson <gary.bisson@boundarydevices.com> Cc: Antoine Tenart <antoine.tenart@free-electrons.com> Cc: Julien Corjon <corjon.j@ecagroup.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* android-tools: adb/adbd sub options use fork(), need MMUPeter Korsgaard2016-05-111-1/+7
| | | | | | | | Fixes: http://autobuild.buildroot.org/results/d87/d87a4bd35cedca94ef6266a06ba05dda103d49ce/ http://autobuild.buildroot.org/results/a83/a8312469b4da6142f0ae67a5eeaf255da351a379/ Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* android-tools: fix Config.in indentationPeter Korsgaard2016-05-111-29/+29
| | | | | | Config.in files should be indented using <tab>. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* android-tools: add new packageThomas Petazzoni2016-04-308-0/+847
This package allows to build the fastboot and adb host utilities, which can be used to interact with target devices implementing one of these protocols. The work behind the host utilities was funded by ECA Group <http://www.ecagroup.com>. ECA Group is the copyright owner of the contributed code. The package also allows to build fastboot, adb and adbd daemon for the target. Regarding adbd, the target is required to have the FunctionFS USB Gadget configuration. Then the following commands enable the use of adb: # modprobe g_ffs idVendor=0x18d1 idProduct=0x4e42 \ iSerialNumber="buildroot" # mkdir -p /dev/usb-ffs/adb # mount -t functionfs adb /dev/usb-ffs/adb -o uid=2000,gid=2000 # adbd & Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com> Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com> Tested-by: Julien Corjon <corjon.j@ecagroup.com> [Thomas: - update on top of master. - fix Config.in.host prompt, it should have been "host android-tools" and not just "android-tools".] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
OpenPOWER on IntegriCloud