diff options
author | Mike Baker <mbm@openwrt.org> | 2005-03-03 02:44:10 +0000 |
---|---|---|
committer | Mike Baker <mbm@openwrt.org> | 2005-03-03 02:44:10 +0000 |
commit | 87f22e678a5764c4a17d78d6392ced68aeca3bad (patch) | |
tree | effa4303a465585ece60f334611d03d7157c5783 /target/jffs2 | |
parent | 79cb6ffbb0ab38c4a41548fa9c39e29aedd0120a (diff) | |
download | upstream-87f22e678a5764c4a17d78d6392ced68aeca3bad.tar.gz upstream-87f22e678a5764c4a17d78d6392ced68aeca3bad.tar.bz2 upstream-87f22e678a5764c4a17d78d6392ced68aeca3bad.zip |
target/jffs2/blocksize.mk for setting block size (req. for wrt54g)
squashfs removed in favor of squashfs-lzma
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@301 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/jffs2')
-rw-r--r-- | target/jffs2/blocksize.mk | 1 | ||||
-rw-r--r-- | target/jffs2/jffs2root.mk | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/target/jffs2/blocksize.mk b/target/jffs2/blocksize.mk new file mode 100644 index 0000000000..9e08a04974 --- /dev/null +++ b/target/jffs2/blocksize.mk @@ -0,0 +1 @@ +JFFS2_BLOCK_SIZE:=0x20000 diff --git a/target/jffs2/jffs2root.mk b/target/jffs2/jffs2root.mk index 92dad0e57c..9846d001f0 100644 --- a/target/jffs2/jffs2root.mk +++ b/target/jffs2/jffs2root.mk @@ -4,6 +4,8 @@ # ############################################################# +include target/jffs2/blocksize.mk + MTD_DIR:=$(BUILD_DIR)/mtd-20050122.orig MTD_SOURCE=mtd_20050122.orig.tar.gz MTD_SITE=http://ftp.debian.org/debian/pool/main/m/mtd @@ -32,7 +34,7 @@ jffs2root: mtd -@find $(TARGET_DIR) -type f -perm +111 | xargs $(SSTRIP) 2>/dev/null || true; @rm -rf $(TARGET_DIR)/usr/man @rm -rf $(TARGET_DIR)/usr/info - $(MKFS_JFFS2) --pad --little-endian --squash -e 0x20000 \ + $(MKFS_JFFS2) --pad --little-endian --squash -e $(JFFS2_BLOCK_SIZE) \ -d $(TARGET_DIR) -o $(IMAGE).jffs2 jffs2root-source: $(DL_DIR)/$(MTD_SOURCE) |