avr32: built the firmware images from the lzma compressed uImage

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35978
lede-17.01
Gabor Juhos 2013-03-12 13:28:16 +00:00
parent 12a213227e
commit 73caeba522
1 changed files with 2 additions and 2 deletions

View File

@ -40,14 +40,14 @@ endef
define Image/Build/squashfs define Image/Build/squashfs
$(call prepare_generic_squashfs,$(KDIR)/root.squashfs) $(call prepare_generic_squashfs,$(KDIR)/root.squashfs)
( \ ( \
dd if=$(KDIR)/uImage bs=1024k conv=sync; \ dd if=$(KDIR)/uImage-lzma bs=1024k conv=sync; \
dd if=$(KDIR)/root.$(1) bs=64k conv=sync; \ dd if=$(KDIR)/root.$(1) bs=64k conv=sync; \
) > $(BIN_DIR)/$(IMG_PREFIX)-$(1).img ) > $(BIN_DIR)/$(IMG_PREFIX)-$(1).img
endef endef
define Image/Build/jffs2-64k define Image/Build/jffs2-64k
( \ ( \
dd if=$(KDIR)/uImage bs=1024k conv=sync; \ dd if=$(KDIR)/uImage-lzma bs=1024k conv=sync; \
dd if=$(KDIR)/root.$(1) bs=64k conv=sync; \ dd if=$(KDIR)/root.$(1) bs=64k conv=sync; \
) > $(BIN_DIR)/$(IMG_PREFIX)-$(1).img ) > $(BIN_DIR)/$(IMG_PREFIX)-$(1).img
endef endef