Changeset 38688 for trunk


Ignore:
Timestamp:
2013-11-07T23:31:54+01:00 (2 years ago)
Author:
juhosg
Message:

ar71xx: build image for the WD My Net Wi-Fi Range Extender

Patchwork: http://patchwork.openwrt.org/patch/4281/
Signed-off-by: Christian Lamparter <chunkeey@…>
[juhosg:

  • remove the Image/Build/CyberTANLZMA/loader macro, it is not used
  • move the MYNETREXT SingleProfile definition to the correct place]

Signed-off-by: Gabor Juhos <juhosg@…>

Location:
trunk/target/linux/ar71xx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/generic/profiles/wd.mk

    r38076 r38688  
    1414  Package set optimized for the WD My Net N600 device. 
    1515endef 
     16$(eval $(call Profile,MYNETN600)) 
    1617 
    17 $(eval $(call Profile,MYNETN600)) 
     18 
     19define Profile/MYNETREXT 
     20        NAME:=WD My Net Wi-Fi Range Extender 
     21endef 
     22 
     23define Profile/MYNETREXT/Description 
     24  Package set optimized for the WD My Net Wi-Fi Range Extender device. 
     25endef 
     26$(eval $(call Profile,MYNETREXT)) 
  • trunk/target/linux/ar71xx/image/Makefile

    r38683 r38688  
    221221zcn1523h_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,6208k(rootfs),1472k(kernel),64k(configure)ro,64k(mfg)ro,64k(art)ro,7680k@0x50000(firmware) 
    222222mynet_n600_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,64k(devdata)ro,64k(devconf)ro,15872k(firmware),64k(radiocfg)ro 
     223mynet_rext_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,7808k(firmware),64k(nvram)ro,64k(ART)ro,6848k@0x130000(filesystem) 
    223224 
    224225define Image/BuildKernel 
     
    673674                -o $(call sysupname,$(1),$(2)) 
    674675        -$(STAGING_DIR_HOST)/bin/addpattern -B $(2) -v v$(4) -g \ 
     676                -i $(KDIR)/image.tmp \ 
     677                -o $(call factoryname,$(1),$(2)) 
     678        rm $(KDIR)/image.tmp 
     679endef 
     680 
     681Image/Build/CyberTANLZMA/buildkernel=$(call MkuImageLzma,$(2),$(3) $(4)) 
     682 
     683define Image/Build/CyberTANLZMA 
     684        $(STAGING_DIR_HOST)/bin/trx -o $(KDIR)/image.tmp -f $(KDIR_TMP)/vmlinux-$(2).uImage \ 
     685                -x 32 -a 0x10000 -x -32 -f $(KDIR)/root.$(1) 
     686        -$(STAGING_DIR_HOST)/bin/addpattern -B $(2) -v v$(5) -g \ 
    675687                -i $(KDIR)/image.tmp \ 
    676688                -o $(call factoryname,$(1),$(2)) 
     
    902914$(eval $(call SingleProfile,CyberTAN,64k,WRT160NL,wrt160nl,WRT160NL,ttyS0,115200,1.00.01)) 
    903915 
     916$(eval $(call SingleProfile,CyberTANLZMA,64k,MYNETREXT,mynet-rext,MYNET-REXT,ttyS0,115200,$$(mynet_rext_mtdlayout) root=31:4,1.00.01)) 
     917 
    904918$(eval $(call SingleProfile,CameoAP94,64kraw,DIR825B1,dir-825-b1,DIR-825-B1,ttyS0,115200,$$(cameo_ap94_mtdlayout),$$(cameo_ap94_mtdlayout_fat),01AP94-AR7161-RT-080619-00,00AP94-AR7161-RT-080619-00)) 
    905919$(eval $(call SingleProfile,CameoAP94,64kraw,TEW673GRU,tew-673gru,TEW-673GRU,ttyS0,115200,$$(cameo_ap94_mtdlayout),$$(cameo_ap94_mtdlayout_fat),01AP94-AR7161-RT-080619-01,00AP94-AR7161-RT-080619-01)) 
Note: See TracChangeset for help on using the changeset viewer.