diff options
author | Mike Baker <mbm@openwrt.org> | 2005-02-21 03:47:31 +0000 |
---|---|---|
committer | Mike Baker <mbm@openwrt.org> | 2005-02-21 03:47:31 +0000 |
commit | a02137fe0802ad4b68f8df6418af61a2b7e12dc7 (patch) | |
tree | 3862829f7d7890464ea607487142263fef525320 /target | |
parent | e00e2073db89231a0c42b3d7aba765304335170b (diff) | |
download | upstream-a02137fe0802ad4b68f8df6418af61a2b7e12dc7.tar.gz upstream-a02137fe0802ad4b68f8df6418af61a2b7e12dc7.tar.bz2 upstream-a02137fe0802ad4b68f8df6418af61a2b7e12dc7.zip |
jffs2 root support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@276 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r-- | target/Makefile.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/target/Makefile.in b/target/Makefile.in index 40c9a0578b..7a212e489f 100644 --- a/target/Makefile.in +++ b/target/Makefile.in @@ -5,8 +5,13 @@ TARGET_SKEL_DIR=target/default/target_skeleton include target/device/Makefile.in +ifeq ($(strip $(BR2_TARGET_ROOTFS_JFFS2)),y) +JFFS2FLAGS+=-a 131072 +endif + + $(DIST)-linux.trx: openwrt-trx - PATH=$(TARGET_PATH) trx -o $(DIST)-linux.trx $(LINUX_DIR)/$(LINUX_BINLOC) $(IMAGE).$(ROOTFS) + PATH=$(TARGET_PATH) trx -o $(DIST)-linux.trx $(LINUX_DIR)/$(LINUX_BINLOC) $(JFFS2FLAGS) $(IMAGE).$(ROOTFS) $(DIST)-gs-code.bin: openwrt-addpattern $(DIST)-linux.trx PATH=$(TARGET_PATH) addpattern -2 -i $(DIST)-linux.trx -o $(DIST)-gs-code.bin -g |