From: Travis Kemen Date: Thu, 8 May 2008 16:46:33 +0000 (+0000) Subject: fix filename for image generation X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1deffb0f407ba603e3884cb9115b89dd8ff1410e;p=openwrt%2Fstaging%2Fwigyori.git fix filename for image generation SVN-Revision: 11077 --- diff --git a/target/linux/atheros/image/Makefile b/target/linux/atheros/image/Makefile index 03590715f0..5a8d93deb5 100644 --- a/target/linux/atheros/image/Makefile +++ b/target/linux/atheros/image/Makefile @@ -29,7 +29,7 @@ define Image/Build echo -en "rootfs\t\t0x02\t0x" >> $(BIN_DIR)/ls5-parts echo -en "$(shell printf "%08X\n" $(shell expr $(shell cat $(BIN_DIR)/openwrt-$(BOARD)-vmlinux.lzma | wc -c) + 3187867648 ) )" >> $(BIN_DIR)/ls5-parts echo -en "\t0x$(shell printf "%08X\n" $(shell expr 3735552 - $(shell cat $(BIN_DIR)/openwrt-$(BOARD)-vmlinux.lzma | wc -c) ) )" >> $(BIN_DIR)/ls5-parts - echo -e "\t0x00000000\t0x00000000\t$(BIN_DIR)/openwrt-$(BOARD)-root.jffs2-64k" >> $(BIN_DIR)/ls5-parts + echo -e "\t0x00000000\t0x00000000\t$(BIN_DIR)/openwrt-$(BOARD)-root.$(1)" >> $(BIN_DIR)/ls5-parts echo -en "kernel\t\t0x01\t0xBFC30000\t0x" > $(BIN_DIR)/ls2-parts echo -en "$(shell printf "%08X\n" $(shell cat $(BIN_DIR)/openwrt-$(BOARD)-vmlinux.lzma | wc -c))" >> $(BIN_DIR)/ls2-parts