[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Add adb
From: |
Julien Lepiller |
Subject: |
[PATCH] Add adb |
Date: |
Sun, 11 Dec 2016 17:26:43 +0100 |
Hi,
I wanted to use adb, so here is a patch to have it in the distro. It
works when ran as root, or if you add some udev rules to your os
configuration.
An issue I can see with this package is that it is only a part of the
upstream repository, which in turn is only a part of a bigger build
system. Normally, you would download multiple repos and build them all
together to get an android image, and some android tools (including
adb). I don't think we want to build a full android image, so I wrote a
recipe for adb only.
I took the recipe from archlinux, as well as the patch (android-tools
package:
https://git.archlinux.org/svntogit/community.git/tree/trunk?h=packages/android-tools,
see build.sh and fix-build.patch). They use clang, but our version isn't
able to build c++ source files (it cannot find includes such as
<string> or <iostream>), so I fixed the source to remove clang dialect
in adb/adb_client.h so we can build the files using gcc.
Archlinux also builds fastboot and mkbootimg. Should I build them along
with adb, or in a separate packages?
0001-gnu-Add-adb.patch
Description: Text Data
- [PATCH] Add adb,
Julien Lepiller <=