Openwrt 交叉编译环境的配置 linux

xiaoxiao2021-02-28  6

环境变量配置: sudo gedit ~/.bashrc export STAGING_DIR=/home/server/OpenWrt-SDK-15.05-ramips-mt7620_gcc-4.8-linaro_uClibc-0.9.33.2.Linux-x86_64/staging_dir export PATH=/home/server/OpenWrt-SDK-15.05-ramips-mt7620_gcc-4.8-linaro_uClibc-0.9.33.2.Linux-x86_64/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/bin:$PATH source ~/.bashrc

在bin里面配置好makefile文件,找到当前路径后可直接运行

cd /home/server/OpenWrt-SDK-15.05-ramips-mt7620_gcc-4.8-linaro_uClibc-0.9.33.2.Linux-x86_64/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/bin make clean make
转载请注明原文地址: https://www.6miu.com/read-850210.html

最新回复(0)