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...
Possible to compile a single target?
Moderator: Moderators
- DoesItMatter
- Moderator
- Posts: 1373
- Joined: Thu May 21, 2009 3:56 pm
Re: Possible to compile a single target?
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
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


2x Asus RT-N16 = Asus 3.0.0.4.374.43 Merlin
2x Buffalo WZR-HP-G300NH V1 A0D0 = Gargoyle 1.9.x / LEDE 17.01.x
2x Engenius - ESR900 Stock 1.4.0 / OpenWRT Trunk 49400
Re: Possible to compile a single target?
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...
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...