赞
踩
##编译
#配置环境变量
export PATH=$HOME/ti-linux-kernel-dev/dl/gcc-linaro-6.4.1-2017.11-x86_64_arm-linux-gnueabihf/bin/:$PATH
alias sudo='sudo env PATH=$PATH'
cd $HOME
mkdir xenomai_build
cd xenomai_build
../xenomai-3.0.7/configure CFLAGS="-march=armv7-a -mfpu=vfp3" LDFLAGS="-march=armv7-a -mfpu=vfp3" --build=i686-pc-linux-gnu --host=arm-linux-gnueabihf --with-core=cobalt --enable-smp --enable-pshared --with-pic=yes
make
##安装
cd $HOME/xenomai_build
#sudo make DESTDIR=/install
#libtool /user/xenomai/lib/
sudo make DESTDIR=$HOME/rootfs install
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。