mirror of https://github.com/hak5/openwrt.git
avr32: built the firmware images from the lzma compressed uImage
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35978lede-17.01
parent
12a213227e
commit
73caeba522
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue