Ubuntu manually compiled Openwrt (DreamBox): for njit... ipk

Source: Internet
Author: User

Compiling environment: Ubuntu 10.04 Ubuntu 12.04 (various problems, but compile the ipk I want)

Reference: http://www.openwrt.org.cn/bbs/forum.php? Mod = viewthread & tid = 4217 (but changed)

1. apt-get install update
Apt-get install git-core
Apt-get install g ++
Apt-get install libncurses5-dev
Apt-get install zlib1g-dev
Apt-get install bison
Apt-get install flex
Apt-get install unzip
Apt-get install autoconf
Apt-get install gawk
Apt-get install make
Apt-get install gettext
Apt-get install gcc
Apt-get install binutils
Apt-get install patch
Apt-get install bzip2
Apt-get install libz-dev
Apt-get install asciidoc
Apt-get install subversion

2. Mkdir openwrt
Cd openwrt

Download command for Trunk: svn co svn: // svn.openwrt.org/openwrt/trunk/
Backfire download command: svn co svn: // svn.openwrt.org/openwrt/branches/backfire/

Https://dev.openwrt.org.cn/wiki/branchstat
There are currently three branches,

1. Dreambox, based on openwrt 10.03.1,

2. SUN branch: The Branch optimized for the embedded platform of ARM architecture. It is created based on the Dreambox branch and maintained by Richard Nee.

3. pandorabox branch, based on OpenWrt 12.09.

1. Obtain the OpenWrt-Dreambox stable version:
$ Svn co svn: // svn.openwrt.org.cn/dreambox/branches/dreambox-EOL openwrt-dreambox
2 get! Dreambox trunk development edition:
$ Svn co svn: // svn.openwrt.org.cn/dreambox/trunk openwrt-pandorabox
3. Obtain the SUN branch of OpenWrt-Dreambox for Embedded Development Boards:
$ Svn co svn: // svn.openwrt.org.cn/dreambox/branches/sun openwrt-dreambox

)

3. Cd Trunk or Cd backfire

For njit: cp feed. conf. default feed. conf
Vim feed. conf
Add :( from https://github.com/liuqun/openwrt-clients/blob/master/feeds.conf)
Src-svn njit https://github.com/liuqun/openwrt-clients/trunk/njit
Src-svn hust https://github.com/liuqun/openwrt-clients/trunk/hust
Src-svn gdou https://github.com/liuqun/openwrt-clients/trunk/gdou
Src-svn sysu https://github.com/liuqun/openwrt-clients/trunk/sysu

./Scripts/feeds update-
./Scripts/feeds install-

4. (make defconfig)
Make menuconfig

5. Official compilation: make V = 99
(Make world V = 99 compile all)

6. After compilation, the bin folder will appear. Go to the BIN folder and click the bin folder you need.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.