montesq, I'd recommend you take look at OpenWrt's buildroot and X-Wrt's webif^2. DD-WRT's build system is horrible and a piece of crap.
Go and test OpenWrt, perheps you like it. With OpenWrt's buildroot crosscompilation is very easy. F.e. if you like to build your own OpenWrt images you just have to check out svn branch and run:
Takes about an hour or so and you have ready to use images in the bin/ folder.
I've already "played" with openwrt, and it's true that compiling kernel sources is easier but that's not my problem!!
I only want to compile an application (e.g. openssh) and add it in the firmware of dd-wrt, it's why I need know how to cross-compile with the procedure : ./configure & make ...
Anybody want to humor me and help me? I want to compile a script I have for GCC on the DDWRT. it's a tutorial script as I am pretty dang new to the Linux comunity. Anyway. I didn't understand the post a couple of posts above and would like to know what I need to do to get the script working on the DD-WRT. I tried compiling in under normal GCC and it simply won't run on my router. What do I need to do? I would really appreciate SIMPLE instructions. Right now I have GCC installed(On my linux box) and the toolchain that was in the link downloaded(To my linux box)
I have successfully compiled and tried DD-WRT from trunks.
Now I would like to make some modifications, for example adding some files, for example in the /etc directory.
How to do that?
I have tried to add an "hello world" file directly to src/router/mipsel-uclibc/target directory, but the image created didn't work.
I also have tried to add it to src/router/misc directory, but looks like that directory is not taken in consideration during the building process.