git clone git://github.com/raspberrypi/tools.git
2. Settings enviroment
export PATH=/home/happy/git/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin:$PATH
export CROSS=arm-linux-gnueabihf-
3. Start to compile the code
configuration environment first
CC=arm-linux-gnueabihf-gcc \
./configure --prefix=$ipbandOBJ \
--host=arm-linux-gnueabihf \
CC=arm-linux-gnueabihf-gcc
make && make install
0 意見:
張貼留言