2018-07-08 05:23:01 +08:00
|
|
|
_______ ________ __
|
|
|
|
| |.-----.-----.-----.| | | |.----.| |_
|
|
|
|
| - || _ | -__| || | | || _|| _|
|
|
|
|
|_______|| __|_____|__|__||________||__| |____|
|
|
|
|
|__| W I R E L E S S F R E E D O M
|
|
|
|
-----------------------------------------------------
|
2005-02-19 21:00:30 +08:00
|
|
|
|
2018-07-08 05:23:01 +08:00
|
|
|
This is the buildsystem for the OpenWrt Linux distribution.
|
2005-02-19 21:00:30 +08:00
|
|
|
|
2018-07-08 05:23:01 +08:00
|
|
|
To build your own firmware you need a Linux, BSD or MacOSX system (case
|
2018-07-08 18:58:07 +08:00
|
|
|
sensitive filesystem required). Cygwin is unsupported because of the lack
|
2018-07-08 05:23:01 +08:00
|
|
|
of a case sensitive file system.
|
2005-04-15 18:26:39 +08:00
|
|
|
|
2018-07-08 05:23:01 +08:00
|
|
|
You need gcc, binutils, bzip2, flex, python, perl, make, find, grep, diff,
|
|
|
|
unzip, gawk, getopt, subversion, libz-dev and libc headers installed.
|
2012-01-21 09:15:24 +08:00
|
|
|
|
2018-07-08 05:23:01 +08:00
|
|
|
1. Run "./scripts/feeds update -a" to obtain all the latest package definitions
|
|
|
|
defined in feeds.conf / feeds.conf.default
|
2012-01-21 09:15:24 +08:00
|
|
|
|
2018-07-08 05:23:01 +08:00
|
|
|
2. Run "./scripts/feeds install -a" to install symlinks for all obtained
|
|
|
|
packages into package/feeds/
|
2005-02-19 21:00:30 +08:00
|
|
|
|
2018-07-08 05:23:01 +08:00
|
|
|
3. Run "make menuconfig" to select your preferred configuration for the
|
|
|
|
toolchain, target system & firmware packages.
|
2005-04-02 20:12:58 +08:00
|
|
|
|
2018-07-08 18:58:07 +08:00
|
|
|
4. Run "make" to build your firmware. This will download all sources, build
|
2018-07-08 05:23:01 +08:00
|
|
|
the cross-compile toolchain and then cross-compile the Linux kernel & all
|
|
|
|
chosen applications for your target system.
|
2005-04-15 18:26:39 +08:00
|
|
|
|
2005-04-02 20:12:58 +08:00
|
|
|
Sunshine!
|
2017-11-07 16:45:50 +08:00
|
|
|
Your OpenWrt Community
|
|
|
|
http://www.openwrt.org
|
2005-02-19 21:00:30 +08:00
|
|
|
|
|
|
|
|