Changeset 16981


Ignore:
Timestamp:
2009-07-25T21:50:10+02:00 (9 years ago)
Author:
juhosg
Message:

[ar71xx] fix firmware image of the TL-WR741ND

File:
1 edited

Legend:

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

    r16793 r16981  
    1111 
    1212define imgname 
    13 $(IMGNAME)-$(2)-$(patsubst jffs2-%,jffs2,$(1)) 
     13$(IMGNAME)-$(2)-$(patsubst jffs2-%,jffs2,$(patsubst squashfs-%,squashfs,$(1))) 
    1414endef 
    1515 
     
    157157                -k $(KDIR)/vmlinux-$(2).bin.gzip \ 
    158158                -r $(BIN_DIR)/openwrt-$(BOARD)-root.$(1) \ 
    159                 -o $(BIN_DIR)/openwrt-$(BOARD)-$(2)-$(1).uni 
     159                -o $(call imgname,$(1),$(2)).uni 
    160160endef 
    161161 
     
    206206define Image/Build/Template/TPLINK/squashfs 
    207207        $(call Image/Build/Template/TPLINK,squashfs,$(1),$(2),$(3)) 
     208endef 
     209 
     210define Image/Build/Template/TPLINK4K 
     211        $(call Image/Build/TPLINK,$(1),$(2),$(3),$(4)) 
     212endef 
     213 
     214define Image/Build/Template/TPLINK4K/squashfs 
     215        $(call Image/Build/Template/TPLINK,squashfs-4k,$(1),$(2),$(3)) 
    208216endef 
    209217 
     
    283291 
    284292define Image/Build/Profile/TLWR741NDV1 
    285         $(call Image/Build/Template/TPLINK/$(1),tl-wr741ndv1,board=TL-WR741ND,TL-WR741NDv1) 
     293        $(call Image/Build/Template/TPLINK4K/$(1),tl-wr741ndv1,board=TL-WR741ND,TL-WR741NDv1) 
    286294endef 
    287295 
     
    320328 
    321329define Image/Build/squashfs 
     330        dd if=$(KDIR)/root.squashfs of=$(IMGNAME)-root.squashfs-4k bs=4k conv=sync 
     331        $(call add_jffs2_mark,$(IMGNAME)-root.squashfs-4k) 
    322332        $(call prepare_generic_squashfs,$(KDIR)/root.squashfs) 
    323333endef 
Note: See TracChangeset for help on using the changeset viewer.