当前位置: 首页 > 工具软件 > eclair > 使用案例 >

Eclair setup

臧弘和
2023-12-01

Eclair need java 5 to compile

1. install java 5 on Ubuntu

sudo apt-get install sun-java5-jdk

if installed java6 already, need to change current java and javac

 

sudo update-alternatives --set javac /usr/lib/jvm/java-1.5.0-sun/bin/javac

sudo update-alternatives --set java /usr/lib/jvm/java-1.5.0-sun/jre/bin/java

 

2. add product config in vendor folder.

there is example in vendor folder, which is htc config  

TARGET_BOARD_PLATFORM := pxa935 (this name decide where the hardware module name for searching)

hardware/pxa935  is the folder for add new hardware abstraction layer

hardware/pxa935/libcamera

hardware/pxa935/liboverlay

hardware/pxa935/libsensors

hardware/pxa935/libgralloc

hardware/pxa935/libgps

 

TARGET_CPU_ABI := armeabi

//this one is new since cupcake 1.6, must add this on otherwise can not compile the source code.

 

3. harware adaption

3.1 libgralloc

to be continue....

 

 类似资料:

相关阅读

相关文章

相关问答