Page 1 of 1
Possible to compile a single target?
Posted: Fri May 06, 2011 11:55 am
by TWilliam
The post title pretty much says it. Maybe I've missed it, but I've searched through the forums as well as the documentation, and I've not seen an answer.
So... is it possible to compile a single target? I have a router, not a collection of them. Seems kind of ridiculous to have to wait for hours for a half dozen or more different images to compile when I only need one...
Re: Possible to compile a single target?
Posted: Sat May 07, 2011 3:15 am
by DoesItMatter
I think you have to do some heavy editing of configs to do this.
Best I've been able to do is compile a single architecture
For me - WZR-HP-G300NH = AR71XX
So I use
make ar71xx
And it will generate all the AR71XX firmwares
Re: Possible to compile a single target?
Posted: Sat May 07, 2011 5:59 am
by TWilliam
Yea, that's kinda what I thought. Tried it that way and it still took a couple hours tho'...
Ok, so here's another question: how does one go about adding another target?
The reason I ask is because I found by much reading on the OpenWRT forums that apparently some of the newer Buffalo WZR-HP-G300NH routers actually require the WZR-HP-G301NH image that they have in their current trunk snapshots directory in order to function. Something to do with a change in the switch chip apparently.
I managed to alter the full-build.sh script in the Gargoyle source to pull from the OpenWRT trunk rather than the Backfire branch, but it still doesn't compile an image for the 301, which is why I was hoping to be able to add & compile a single image. It's a real drag to wait 2+ hours to find out the time was completely wasted...