-
Install
git
,to conveniently download the OpenWrt source code,andbuild tools
to do the cross-compilation process:<span class="kw2" style="color:#000000;font-weight:bold">sudo</span> <span class="kw2" style="color:#000000;font-weight:bold">apt-get update</span> <span class="kw2" style="color:#000000;font-weight:bold">sudo</span> <span class="kw2" style="color:#000000;font-weight:bold">apt-get install</span> git-core build-essential libssl-dev libncurses5-dev <span class="kw2" style="color:#000000;font-weight:bold">unzip</span>
Some Feeds might not available over git but only viasubversion
(short:svn
) ormercurial
. If you want to obtain their source-code,you need to install svn and mercurial as well:<span class="kw2" style="color:#000000;font-weight:bold">sudo</span> <span class="kw2" style="color:#000000;font-weight:bold">apt-get install</span> subversion mercurial
-
for information about the build tools see
make
and build-essential -
for information about git see
git(7)
-
for information about the subversion tool see
svn
and subversion documentation (multiple languages)
-
-
Download the OpenWrt bleeding edge(trunk Version) with
git
( seeDownloading Sourcesfor more options!):<span class="kw2" style="color:#000000;font-weight:bold">git clone</span> git:<span class="sy0" style="color:#66cc66;">//</span>git.openwrt.org<span class="sy0" style="color:#66cc66;">/</span>openwrt.git
this creates a directory 'openwrt',which is the OpenWrt Buildroot build-directory
the OpenWrt toolchain "OpenWrt Buildroot" is included