add new flash map driver, jffs2 is found, squashfs not.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1829 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Waldemar Brodkorb
2005-09-03 17:57:21 +00:00
parent a2b7fa7743
commit cdb4705e9c
3 changed files with 163 additions and 47 deletions

View File

@@ -31,7 +31,7 @@ ifeq ($(KERNEL),2.6)
FSNAME:=$(patsubst jffs2-%,jffs2,$(FS))
$(BIN_DIR)/openwrt-wgt634u-2.6-$(FSNAME).bin: $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(FS).trx
dd if=$(BUILD_DIR)/loader-0.04/loader.o of=$@ bs=65536 conv=sync
dd if=$(BUILD_DIR)/loader.elf of=$@ bs=131072 conv=sync
cat $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(FS).trx >> $@
install: $(BIN_DIR)/openwrt-wgt634u-2.6-$(FSNAME).bin