+define Image/Build/ALFA
+ $(call MkuImageLzma,$(2),$(3) $($(4)))
+ $(call Sysupgrade/RK,$(1),$(2),$(5),$(6))
+ if [ -e "$(call sysupname,$(1),$(2))" ]; then \
+ rm -rf $(KDIR)/$(1); \
+ mkdir -p $(KDIR)/$(1); \
+ cd $(KDIR)/$(1); \
+ cp $(KDIR)/vmlinux-$(2).uImage $(KDIR)/$(1)/vmlinux.gz.uImage; \
+ cp $(KDIR)/root.$(1) $(KDIR)/$(1)/pb9x-2.6.31-jffs2; \
+ $(TAR) zcf $(call factoryname,$(1),$(2)) -C $(KDIR)/$(1) \
+ vmlinux.gz.uImage pb9x-2.6.31-jffs2; \
+ ( \
+ echo $(7) | dd bs=32 count=1 conv=sync; \
+ echo -ne '\xfe'; \
+ ) >> $(call factoryname,$(1),$(2)); \
+ fi
+endef
+