diff options
author | Luka Perkov <luka@openwrt.org> | 2013-10-17 11:54:52 +0000 |
---|---|---|
committer | Luka Perkov <luka@openwrt.org> | 2013-10-17 11:54:52 +0000 |
commit | 416d58a3d65fa52b0f0089888af9c499daca8c4f (patch) | |
tree | 769d66f511cf06231a19de3b170926e500a58a5c /target | |
parent | 7e13c80b3d86f9bbd40a4267252530723fdebdc5 (diff) | |
download | upstream-416d58a3d65fa52b0f0089888af9c499daca8c4f.tar.gz upstream-416d58a3d65fa52b0f0089888af9c499daca8c4f.tar.bz2 upstream-416d58a3d65fa52b0f0089888af9c499daca8c4f.zip |
imx6: fix file names when building images
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 38434
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/imx6/image/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/imx6/image/Makefile b/target/linux/imx6/image/Makefile index aad15271a0..a0772727d2 100644 --- a/target/linux/imx6/image/Makefile +++ b/target/linux/imx6/image/Makefile @@ -34,7 +34,7 @@ endef # board-specific sysupgrade image 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; \ sh $(TOPDIR)/scripts/combined-image.sh \ $(KDIR)/uImage.pad \ @@ -52,10 +52,10 @@ endef # rootfs and board-specific combined kernel+rootfs for convenience define Image/Build/squashfs $(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), ( \ - 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; \ ) > $(BIN_DIR)/$(IMG_PREFIX)-$(board)-$(1).bin ) |