diff options
author | Felix Fietkau <nbd@openwrt.org> | 2005-07-21 18:46:19 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2005-07-21 18:46:19 +0000 |
commit | a465463ccf95ef4a55daa75a9e8a9e5a10be9ec4 (patch) | |
tree | 54ae17b8786628f6cb993c385fffa9db8bce2309 /target/linux/image/ar7/Makefile | |
parent | c0433b1e1047f48a5756583c56c15f4ab7a7d51a (diff) | |
download | upstream-a465463ccf95ef4a55daa75a9e8a9e5a10be9ec4.tar.gz upstream-a465463ccf95ef4a55daa75a9e8a9e5a10be9ec4.tar.bz2 upstream-a465463ccf95ef4a55daa75a9e8a9e5a10be9ec4.zip |
remove trx stuff from ar7 images and flash map
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1524 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/image/ar7/Makefile')
-rw-r--r-- | target/linux/image/ar7/Makefile | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/target/linux/image/ar7/Makefile b/target/linux/image/ar7/Makefile index c3ffb25a95..3cde04bc32 100644 --- a/target/linux/image/ar7/Makefile +++ b/target/linux/image/ar7/Makefile @@ -41,19 +41,17 @@ $(BIN_DIR)/openwrt-ar7-zimage.bin: $(KDIR)/vmlinux.gz compile -o $(KDIR)/loader $(TARGET_CROSS)objcopy -O srec $(KDIR)/loader $(KDIR)/ram_zimage.sre $(PKG_BUILD_DIR)/srec2bin $(KDIR)/ram_zimage.sre $@ - dd if=/dev/zero bs=1024 count=1 >> $@ -ALIGN:=1024 ifeq ($(FS),jffs2-8MB) -ALIGN:=131072 +ALIGN:=bs=131072 conv=sync endif ifeq ($(FS),jffs2-4MB) -ALIGN:=65536 +ALIGN:=bs=65536 conv=sync endif $(BIN_DIR)/openwrt-ar7-$(KERNEL)-$(FS).bin: - dd if=$(BIN_DIR)/openwrt-ar7-zimage.bin bs=$(ALIGN) conv=sync | head -c -1024 > $@ - $(STAGING_DIR)/bin/trx -a 1024 $(BUILD_DIR)/linux-$(KERNEL)-ar7/root.$(FS) >> $@ + dd if=$(BIN_DIR)/openwrt-ar7-zimage.bin $(ALIGN) > $@ + cat $(BUILD_DIR)/linux-$(KERNEL)-ar7/root.$(FS) >> $@ define pattern_template $(BIN_DIR)/openwrt-ar7-$(KERNEL)-$(FS)-$(1).bin: $(BIN_DIR)/openwrt-ar7-$(KERNEL)-$(FS).bin |