Sign in to follow this  
Followers 0
everNight

openwrt qsdk 编译环境搭建

1 post in this topic

对于一个新建的最小化 ubuntu 来说,需要先安装如下软件包:

gcc g++ binutils patch bzip2 flex make gettext pkg-config unzip libc6-dev subversion gawk sharutils curl libxml-parser-perl ocaml ocaml-nox libncurses5-dev zlib1g-dev u-boot-tools device-tree-compiler git libssl-dev

repo 好像自动安装不能用,那么来手动安装一下:

$ mkdir  –p  ~/bin

$ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo

$ chmod 777 ~/bin

准备同步源文件,先准备一个目录,例如:

$ mkdir ~/openwrt && cd ~/openwrt

选择并同步分支:

$ repo init -ugit://codeaurora.org/quic/qsdk/releases/manifest/qstak -b release -m caf_AU_LINUX_QSDK_RELEASE_DANDELION_RB_TARGET_ALL.0.1.453.056.096.xml

$ repo sync

第一次同步应该十分漫长。

下载完成后,首先更新 feeds:

$ cd qsdk

$ make package/symlinks

检查依赖项并创建你的第一个配置文件:

$ make prereq

以后只要 make menuconfig 即可。选好设置后即可开始编译了。

其余与官方 op 大同小异。

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0