I had test it on my environment, it can compile i2c-tools
, using the following site for reference:
http://boundarydevices.com/i2c-tools-under-android/
The steps to compile are:
1.enter AOSP.
2.$ source build/envsetup.sh
3.$ lunch xxxxx
4.copy i2c-tools-3.1.0 folder to AOSP/tools/external
5.create Android.mk file (content same as your) in i2c-tools-3.1.0
6.enter i2c-tools-3.1.0 folder,then type $mm
7.you will see the i2ctools was builded in out/target/product/xxxx/system/bin/i2cset