rtl8366_smi: fix port->flags calculation in rtl8366_get_ports
[openwrt.git] / target / linux / ar71xx / image / Makefile
index d3baec6..61f390d 100644 (file)
@@ -129,6 +129,10 @@ define Image/Build/WZRHPG300NH
                        dd if=$(KDIR)/vmlinux-$(2).uImage bs=1024k conv=sync; \
                        dd if=$(KDIR)/root.$(1) bs=128k conv=sync; \
                ) > $(call imgname,$(1),$(2))-sysupgrade.bin; \
+               ( \
+                       echo -n -e "# Airstation Public Fmt1\x00\x00\x00\x00\x00\x00\x00\x00"; \
+                       dd if=$(call imgname,$(1),$(2))-sysupgrade.bin; \
+               ) > $(call imgname,$(1),$(2))-tftp.bin; \
        fi; fi
 endef
 
@@ -330,6 +334,10 @@ define Image/Build/Template/squashfs-only/squashfs
        $(call Image/Build/$(1),squashfs,$(2),$(3),$(4),$(5),$(6),$(7))
 endef
 
+define Image/Build/Template/4k/squashfs
+       $(call Image/Build/$(1),squashfs-4k,$(2),$(3),$(4),$(5),$(6),$(7))
+endef
+
 define Image/Build/Template/64k/squashfs
        $(call Image/Build/$(1),squashfs,$(2),$(3),$(4),$(5),$(6),$(7))
 endef
@@ -428,7 +436,7 @@ define Image/Build/Profile/MZKW300NH
 endef
 
 define Image/Build/Profile/TLWR741NDV1
-       $(call Image/Build/Template/squashfs-only/$(1),TPLINK4K,tl-wr741nd-v1,board=TL-WR741ND,TL-WR741NDv1)
+       $(call Image/Build/Template/4k/$(1),TPLINK,tl-wr741nd-v1,board=TL-WR741ND,TL-WR741NDv1)
 endef
 
 define Image/Build/Profile/TLWR841NV15
@@ -440,7 +448,7 @@ define Image/Build/Profile/TLWR841NDV3
 endef
 
 define Image/Build/Profile/TLWR841NDV5
-       $(call Image/Build/Template/squashfs-only/$(1),TPLINK4K,tl-wr841nd-v5,board=TL-WR741ND,TL-WR841NDv5)
+       $(call Image/Build/Template/4k/$(1),TPLINK,tl-wr841nd-v5,board=TL-WR741ND,TL-WR841NDv5)
 endef
 
 define Image/Build/Profile/TLWR941NDV2
This page took 0.026138 seconds and 4 git commands to generate.