Posted: Sat Sep 17, 2011 17:24 Post subject: Compile DD-Wrt from source for MIPS (Buffalo WZR-HP-G300NH)
there's a lot of info how to setup the build environment in the Wiki and in the forum.
But I couldn't find any info how to build for specific platforms.
Development OS:Debian GNU/Linux, 64-Bit (as the toolchains are precompiled for AMD64), Release 6 "Squeeze"
Packages installed: build-essential subversion linux-libc-dev binutils asciidoc bzip2 fastjar flex gawk libgtk2.0-dev intltool libz-dev ncurses-dev libssl-dev patch perl-modules rsync ruby unzip wget gettext xsltproc libxml-parser-perl zip ccache Development user: root
Setting up the environment for DD-Wrt was easy as it has similar prerequisites as for OpenWrt.
The smaller checkout of the DD-Wrt v24 source without kernel sources through ddwrt_selective_co.sh took me 17 mins for 3.6 GB.
But the 1GB heavy bzipped toolchain download and 3GB extracted was unexpected.
Actually I could live without W-LAN/Wifi for my test builds.
More important to me is to be able to test my enhancements before sending in a patch.
Would increase the quality of my patches and reduce the time for the developers to test, discuss and implement.
Still it would be great to know how DD-Wrt is currently build for WZR-HP-G300NH.
What DD-Wrt platform is GPL or can be completly build for testing?