-# sign an image to make it work with edimax tftp recovery
-define BuildFirmware/Edimax/squashfs
- $(call BuildFirmware/OF,$(1),$(2),$(3),$(4))
- if [ -e "$(call sysupname,$(1),$(2))" ]; then \
- mkedimaximg -i $(call sysupname,$(1),$(2)) \
- -o $(call imgname,$(1),$(2))-factory.bin \
- -s $(5) -m $(6) -f $(7) -S $(8); \
- fi
-endef
-BuildFirmware/Edimax/initramfs=$(call BuildFirmware/OF/initramfs,$(1),$(2),$(3))
-