ubuntu 在 R40e 上 還有 Debian 在 Sempron 2600 上

2015年6月12日 星期五

A20 android build from source

其實就是 build_android.sh 這個 script.

一樣...
. build/envsetup.sh
lunch  # 選 sugar-bpi 或是 sugar-lemark
然後多一個步驟:
extract-bsp

最後才 make

make 完做 pack

這個特殊command, ref: http://www.cnblogs.com/JonnyLulu/p/3572080.html
是在 android/device/sofrwinner/common/vendorsetup.sh

裡面還有一堆 command.


因為在 envsetup 時..
including device/asus/grouper/vendorsetup.sh
including device/asus/tilapia/vendorsetup.sh
including device/generic/armv7-a-neon/vendorsetup.sh
including device/generic/armv7-a/vendorsetup.sh
including device/generic/mips/vendorsetup.sh
including device/generic/x86/vendorsetup.sh
including device/samsung/maguro/vendorsetup.sh
including device/samsung/manta/vendorsetup.sh
including device/samsung/toroplus/vendorsetup.sh
including device/samsung/toro/vendorsetup.sh
including device/softwinner/common/vendorsetup.sh
including device/softwinner/sugar-bpi/vendorsetup.sh
including device/softwinner/sugar-evb/vendorsetup.sh
including device/softwinner/sugar-lemaker/vendorsetup.sh
including device/softwinner/sugar-ref001/vendorsetup.sh
including device/softwinner/sugar-standard/vendorsetup.sh
including device/softwinner/wing-evb-v10/vendorsetup.sh
including device/ti/panda/vendorsetup.sh
including sdk/bash_completion/adb.bash
所以vendorsetup.sh 會被包含進入。
所以可以寫自己的擴充 command 到 vendorsetup.sh 中。

沒有留言:

標籤

網誌存檔