Compiling DD-WRT sources

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 10:13, 19 April 2006 (edit)
Thentschel (Talk | contribs)
m (some grammar and spelling fixes)
← Previous diff
Revision as of 10:14, 19 April 2006 (edit) (undo)
Thentschel (Talk | contribs)
m (typo)
Next diff →
Line 1: Line 1:
-Install a LINUX-System like KNOPPIX and open a root shell (or become "root" by issuing "su" and typing your root password), then issue the following commands (the example uses the "0416-2006-snapshot.tar.bz2" source distribution)+Install a LINUX-System like KNOPPIX and open a root shell (or become "root" by issuing "su" and type your root password), then issue the following commands (the example uses the "0416-2006-snapshot.tar.bz2" source distribution)
<pre> <pre>

Revision as of 10:14, 19 April 2006

Install a LINUX-System like KNOPPIX and open a root shell (or become "root" by issuing "su" and type your root password), then issue the following commands (the example uses the "0416-2006-snapshot.tar.bz2" source distribution)

cd /

mkdir home/dd-wrt

mkdir home/dd-wrt/snapshot

cd home/dd-wrt/snapshot

wget http://www.dd-wrt.com/dd-wrtv2/downloads/sourcecode/0416-2006-snapshot.tar.bz2

tar -xjvf 0416-2006-snapshot.tar.bz2

cd home/dd-wrt

mkdir home/dd-wrt/toolchains

cd home/dd-wrt/toolchains

wget http://www.dd-wrt.com/dd-wrtv2/downloads/sourcecode/toolchains.x86.debian.sp1.tar.bz2

tar -xjvf toolchains.x86.debian.sp1.tar.bz2

mv /home/dd-wrt/toolchains/3.4.6-uclibc-0.9.28 /home/dd-wrt/toolchains/3.4.6

mv /home/dd-wrt/toolchains/4.1.0-uclibc-0.9.28 /home/dd-wrt/toolchains/4.1.0

cd home/dd-wrt/snapshot/DD-WRT/opt

rm libgcc_s.so

ln -s libgcc/libgcc_s.so.1 libgcc_s.so 

cd home/dd-wrt

mkdir home/dd-wrt/image

ln -s /home/dd-wrt/image /GruppenLW

cd home/dd-wrt/snapshot/DD-WRT/opt

then start compiling with

./install.sh

your images should be in home/dd-wrt/image