Ignore:
Timestamp:
2011-04-12T11:29:10+02:00 (6 years ago)
Author:
juhosg
Message:

ar71xx: Add support for WZR-HP-G301NH

Add support for the Buffalo WZR-HP-G301NH. The only difference between it
and the WZR-HP-G00NH is that it has a RTL8366RB instead of a RTL8366S.
Since we don't do runtime detection of the switch, we need a separate
machine definition for it.

While we are at it, also rename the profile to reflect that it now is for
more than one device.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/image/Makefile

    r26519 r26601  
    119119endef 
    120120 
    121 define Image/Build/WZRHPG300NH 
     121define Image/Build/WZRHPG30XNH 
    122122        $(call PatchKernelLzma,$(2),$(3)) 
    123123        if [ `stat -c%s "$(KDIR)/vmlinux-$(2).bin.lzma"` -gt 1048576 ]; then \ 
     
    689689endef 
    690690 
    691 define Image/Build/Profile/WZRHPG300NH 
    692         $(call Image/Build/Template/$(fs_128k)/$(1),WZRHPG300NH,wzr-hp-g300nh,board=WZR-HP-G300NH) 
     691define Image/Build/Profile/WZRHPG30XNH 
     692        $(call Image/Build/Template/$(fs_128k)/$(1),WZRHPG30XNH,wzr-hp-g300nh,board=WZR-HP-G300NH) 
     693        $(call Image/Build/Template/$(fs_128k)/$(1),WZRHPG30XNH,wzr-hp-g301nh,board=WZR-HP-G301NH) 
    693694endef 
    694695 
     
    741742        $(call Image/Build/Profile/WRT400N,$(1)) 
    742743        $(call Image/Build/Profile/WRT160NL,$(1)) 
    743         $(call Image/Build/Profile/WZRHPG300NH,$(1)) 
     744        $(call Image/Build/Profile/WZRHPG30XNH,$(1)) 
    744745        $(call Image/Build/Profile/ZCN1523H28,$(1)) 
    745746        $(call Image/Build/Profile/ZCN1523H516,$(1)) 
Note: See TracChangeset for help on using the changeset viewer.