ramips: fix FONERA20N image generation
SVN-Revision: 30710
This commit is contained in:
parent
b585d59096
commit
6990f66861
1 changed files with 6 additions and 4 deletions
|
@ -165,9 +165,11 @@ define BuildFirmware/DIR300B1
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define BuildFirmware/Edimax
|
define BuildFirmware/Edimax
|
||||||
mkedimaximg -i $(call sysupname,$(1),$(2)) \
|
if [ -e "$(call sysupname,$(1),$(2))" ]; then \
|
||||||
-o $(call imgname,$(1),$(2))-factory.bin \
|
mkedimaximg -i $(call sysupname,$(1),$(2)) \
|
||||||
-s $(3) -m $(4) -f $(5) -S $(6)
|
-o $(call imgname,$(1),$(2))-factory.bin \
|
||||||
|
-s $(3) -m $(4) -f $(5) -S $(6); \
|
||||||
|
fi
|
||||||
endef
|
endef
|
||||||
|
|
||||||
mtdlayout_f5d8235=320k(u-boot)ro,1536k(kernel),6208k(rootfs),64k(nvram),64k(factory),7744k@0x50000(firmware)
|
mtdlayout_f5d8235=320k(u-boot)ro,1536k(kernel),6208k(rootfs),64k(nvram),64k(factory),7744k@0x50000(firmware)
|
||||||
|
@ -178,7 +180,7 @@ define BuildFirmware/F5D8235
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define BuildFirmware/FONERA20N
|
define BuildFirmware/FONERA20N
|
||||||
$(call Image/Build/Template/GENERIC_8M,$(1),fonera20n,FONERA20N,ttyS1,57600,phys)
|
$(call BuildFirmware/GENERIC_8M,$(1),fonera20n,FONERA20N,ttyS1,57600,phys)
|
||||||
$(call BuildFirmware/Edimax,$(1),fonera20n,RSDK,NL1T,0x50000,0xc0000)
|
$(call BuildFirmware/Edimax,$(1),fonera20n,RSDK,NL1T,0x50000,0xc0000)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue