aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-01-18 00:12:15 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-01-18 00:12:15 +0000
commit764549aa545cb03a24ff41eabed91a2cab920d00 (patch)
tree72523131c82bff1d05f3d6048affa33f44cc7589 /target/linux
parentbce1ca23feefa6f208c893188bb0a52e9ed10054 (diff)
downloadupstream-764549aa545cb03a24ff41eabed91a2cab920d00.tar.gz
upstream-764549aa545cb03a24ff41eabed91a2cab920d00.tar.bz2
upstream-764549aa545cb03a24ff41eabed91a2cab920d00.zip
ar71xx: fix portability errors in dd commands
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19207 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ar71xx/image/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
index 96611bb470..d3baec69e1 100644
--- a/target/linux/ar71xx/image/Makefile
+++ b/target/linux/ar71xx/image/Makefile
@@ -126,7 +126,7 @@ define Image/Build/WZRHPG300NH
-n 'MIPS OpenWrt Linux-$(LINUX_VERSION)' \
-d $(KDIR)/vmlinux-$(2).bin.lzma $(KDIR)/vmlinux-$(2).uImage; \
( \
- dd if=$(KDIR)/vmlinux-$(2).uImage bs=1M conv=sync; \
+ dd if=$(KDIR)/vmlinux-$(2).uImage bs=1024k conv=sync; \
dd if=$(KDIR)/root.$(1) bs=128k conv=sync; \
) > $(call imgname,$(1),$(2))-sysupgrade.bin; \
fi; fi
@@ -305,7 +305,7 @@ define Image/Build/WNDR3700
$(KDIR)/vmlinux-$(2).uImage.squashfs
-rm -f $(KDIR)/vmlinux-$(2).uImage.squashfs.tmp*
( \
- dd if=$(KDIR)/vmlinux-$(2).uImage.squashfs bs=1M conv=sync; \
+ dd if=$(KDIR)/vmlinux-$(2).uImage.squashfs bs=1024k conv=sync; \
dd if=$(KDIR)/root.$(1) bs=64k; \
) > $(call imgname,$(1),$(2))-sysupgrade.bin
$(STAGING_DIR_HOST)/bin/mkdniimg \