summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/android-tools
Commit message (Collapse)AuthorAgeFilesLines
* android-tools: do_unpack_extra task removedDariusz Pelowski2018-02-011-18/+0
| | | | | | | | | | | | | | When user don't have properly configured git user.email and user.name compilation fails on do_unpack_extra step when executing "git commit" command. This patch removes whole do_unpack_extra task as it's unusual operation for the recipe to remove .git directories and initialize new git repository after do_unpack task. Signed-off-by: Dariusz Pelowski <dariusz.pelowski@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> (cherry picked from commit d2be40d2d907d0db304f44dde20a1c878a2f974c) Signed-off-by: Armin Kuster <akuster808@gmail.com>
* android-tools: Fix build with muslKhem Raj2017-09-224-0/+488
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* android-tools: fix issue with missing files in eSDK updatesAndrea Galbusera2017-08-131-0/+2
| | | | | | | | | | | | | | | | | | | | | | | If this recipe was included in an eSDK and then eSDK incremental updates were generated by repeatedly running the oe-publish-sdk script, after installing the first of such updates, and any following as well, with 'devtool sdk-updates' the eSDK gets corrupted. Indeed some of the files listed in SRC_URI (namely anything in *.patch and *.service) get deleted by those updates, with bitbake that starts warning with 'Unable to get checksum for android-tools* SRC_URI entry' at every parse. Since the files are missing, such warnings turn into errors if trying to bake android-tools. The root cause is the somewhat unusual presence of android-tools/.gitignore, indeed ignore everything not explicitly excepted. When oe-publish-sdk creates the git repo it relies on to feed eSDK updates, the .gitignore gets honored, leading to the buggy behaviour above. This patch adds *.patch and *.service to the excepted patterns in .gitignore Note that, although this solves the issue, it does not prevent from it popping up again if new files get added to android-tools/ without explicitly excluding them from .gitignore. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* meta: do not prepend/append to BBCLASSEXTENDMing Liu2017-03-161-1/+1
| | | | | | | | Replace some "+=/=+" with "=" when setting BBCLASSEXTEND, they are redundant and inconsistent with the same setting in other recipes. Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* android-tools: add libcap dependency and fix build on big endian systemsMartin Jansa2017-02-222-9/+53
| | | | | | | | | | | | | | | | | | | | * add dependency on libcap to fix: android-tools/5.1.1.r37-r0/git/system/core/adb/adb.c:39:28: fatal error: sys/capability.h: No such file or directory #include <sys/capability.h> ^ * add patch from buildroot to fix build with newer glibc and on bit-endian systems android-tools/5.1.1.r37-r0/git/system/core/adb/usb_linux_client.c:38:25: error: initializer element is not constant #define cpu_to_le32(x) htole32(x) ^ * and also disable thumb to fix: http://errors.yoctoproject.org/Errors/Details/133881/ * drop default apply=yes for the .patch files Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* android-tools: fix do_installKoen Kooi2016-11-231-9/+15
| | | | | | | | | | | | | | The previous patch introduced 2 bugs that made packaging fail: 1) Always failing grep 2) Conditionally install systemd files Systemd.bbclass doesn't handle conditional installation and will throw an error. Tested with -native and regular cross builds. Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* android-tools: fix native buildKoen Kooi2016-10-261-19/+40
| | | | | | | | | * Find libbsd headers when building natively * Disable tools that needs sys/capability.h when building natively * Enhance do_install to work when some tools are disabled Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* android-tools: add recipe from AOSP tag android-5.1.1_r37Fathi Boudra2016-09-1518-0/+1148
Android tools offer filsystem tools for creating sparse images, so package them in package of its own. This recipe is re-worked and not a straight import from meta-shr. It's built from AOSP source. I've dropped the ubuntu-ism which will never be upstreamed. The intent is to be closer to the upstream AOSP source code and be able to update the recipe regularly. Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>