imx6: fix file names when building images
Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38434 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
092ba3c09a
commit
b32bb886f3
|
@ -34,7 +34,7 @@ endef
|
||||||
|
|
||||||
# board-specific sysupgrade image
|
# board-specific sysupgrade image
|
||||||
define BuildFirmware/Generic
|
define BuildFirmware/Generic
|
||||||
dd if=$(BIN_DIR)/openwrt-$(1)-uImage.itb of=$(KDIR)/uImage.pad bs=64k conv=sync; \
|
dd if=$(BIN_DIR)/$(IMG_PREFIX)-$(1)-uImage.itb of=$(KDIR)/uImage.pad bs=64k conv=sync; \
|
||||||
dd if=$(KDIR)/root.$(2) of=$(KDIR)/root.$(2).pad bs=128k conv=sync; \
|
dd if=$(KDIR)/root.$(2) of=$(KDIR)/root.$(2).pad bs=128k conv=sync; \
|
||||||
sh $(TOPDIR)/scripts/combined-image.sh \
|
sh $(TOPDIR)/scripts/combined-image.sh \
|
||||||
$(KDIR)/uImage.pad \
|
$(KDIR)/uImage.pad \
|
||||||
|
@ -52,10 +52,10 @@ endef
|
||||||
# rootfs and board-specific combined kernel+rootfs for convenience
|
# rootfs and board-specific combined kernel+rootfs for convenience
|
||||||
define Image/Build/squashfs
|
define Image/Build/squashfs
|
||||||
$(call prepare_generic_squashfs,$(KDIR)/root.$(1))
|
$(call prepare_generic_squashfs,$(KDIR)/root.$(1))
|
||||||
dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/openwrt-$(BOARD)-$(1).img bs=128k conv=sync
|
dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/$(IMG_PREFIX)-$(1).img bs=128k conv=sync; \
|
||||||
$(foreach board,$(BOARDS),
|
$(foreach board,$(BOARDS),
|
||||||
( \
|
( \
|
||||||
dd if=$(BIN_DIR)/openwrt-$(board)-uImage.itb bs=2048k conv=sync; \
|
dd if=$(BIN_DIR)/$(IMG_PREFIX)-$(board)-uImage.itb bs=2048k conv=sync; \
|
||||||
dd if=$(KDIR)/root.$(1) bs=64k conv=sync; \
|
dd if=$(KDIR)/root.$(1) bs=64k conv=sync; \
|
||||||
) > $(BIN_DIR)/$(IMG_PREFIX)-$(board)-$(1).bin
|
) > $(BIN_DIR)/$(IMG_PREFIX)-$(board)-$(1).bin
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue