【匠芯创D133CBS】linux编译环境搭建
[复制链接]
一、下载源码
1.1、获取源码
执行命令:root@ThinkPad:/opt# git clone
1.2、更新资源库
1.3、安装scons
root@ThinkPad:/opt/luban-lite# cd tools/env/local_pkgs/
root@ThinkPad:/opt/luban-lite/tools/env/local_pkgs# tar xvf scons-3.1.2.tar.gz
root@ThinkPad:/opt/luban-lite/tools/env/local_pkgs/scons-3.1.2# python3 setup.py install
1.4、安装 pycryptodomex
root@ThinkPad:/opt/luban-lite# apt-get install pip
root@ThinkPad:/opt/luban-lite# cd tools/env/local_pkgs/
root@ThinkPad:/opt/luban-lite/tools/env/local_pkgs# tar xvf pycryptodomex-3.11.0.tar.gz
root@ThinkPad:/opt/luban-lite/tools/env/local_pkgs/pycryptodomex-3.11.0# python3 setup.py install
二、编译SDK
root@ThinkPad:/opt/luban-lite# scons --list-def
root@ThinkPad:/opt/luban-lite# scons --apply-def=11
root@ThinkPad:/opt/luban-lite# scons
编译成功
|