diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2015-05-27 15:18:29 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2015-05-27 15:18:29 +0000 |
commit | 01862981001a2739c39eb355a3b0bc458f8af164 (patch) | |
tree | 9436b3375562f0a82a9438aa007e4cffbd5bec6f /target/linux/cns3xxx | |
parent | 36d122efb0dd37d6974ac8e1ab281fc2eeb02029 (diff) | |
download | master-187ad058-01862981001a2739c39eb355a3b0bc458f8af164.tar.gz master-187ad058-01862981001a2739c39eb355a3b0bc458f8af164.tar.bz2 master-187ad058-01862981001a2739c39eb355a3b0bc458f8af164.zip |
cns3xxx: use common image prefix
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45781 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/cns3xxx')
-rw-r--r-- | target/linux/cns3xxx/image/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/cns3xxx/image/Makefile b/target/linux/cns3xxx/image/Makefile index 9e5deecf6b..13e5efd964 100644 --- a/target/linux/cns3xxx/image/Makefile +++ b/target/linux/cns3xxx/image/Makefile @@ -32,7 +32,7 @@ define Image/Build endef define Image/Build/jffs2-64k - dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/openwrt-$(BOARD)-$(1).img bs=64k conv=sync + dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/$(IMG_PREFIX)-$(1).img bs=64k conv=sync ( \ dd if=$(KDIR)/uImage bs=2048k conv=sync; \ dd if=$(KDIR)/root.$(1) bs=64k conv=sync; \ @@ -40,7 +40,7 @@ define Image/Build/jffs2-64k endef define Image/Build/jffs2-128k - 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 ( \ dd if=$(KDIR)/uImage bs=2048k conv=sync; \ dd if=$(KDIR)/root.$(1) bs=128k conv=sync; \ @@ -49,7 +49,7 @@ endef 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 ( \ dd if=$(KDIR)/uImage bs=2048k conv=sync; \ dd if=$(KDIR)/root.$(1) bs=128k conv=sync; \ |