[Buildroot] [PATCH] android-tools: add target and adbd support

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Sep 11 09:27:41 UTC 2015


Gary,

On Fri, 11 Sep 2015 11:23:50 +0200, Gary Bisson wrote:
> Required to switch from the Debian to the Ubuntu package as the former
> doesn't offer adbd support. That change allows to get rid the
> AndroidConfig.h as everything is defined in the Makefiles.
> 
> 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: Gary Bisson <gary.bisson at boundarydevices.com>

Thanks for working on this!

> This is a first draft and I'll obviously need to respin once a v3 of
> their patch will be delivered. I don't know if it would even be
> better to squash both patches and have one android-tools patch only.

I think you can squash both patches, and send a single patch
implementing the entire package. Feel free to re-use my patch and put
your authorship instead of mine, I don't care.

> I was surprised not to see "select" in the Config.in.host for zlib
> or openssl but only at dependencies in the .mk file. Is that on
> purpose?

Host packages don't have Config.in options, except for a few exceptions.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list