From 4d6bb280f0b59ecdc6be3a5a29fc57525860cd62 Mon Sep 17 00:00:00 2001 From: Mike Baker Date: Mon, 21 Feb 2005 03:47:31 +0000 Subject: jffs2 root support SVN-Revision: 276 --- openwrt/target/Makefile.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'openwrt/target') diff --git a/openwrt/target/Makefile.in b/openwrt/target/Makefile.in index 40c9a05..7a212e4 100644 --- a/openwrt/target/Makefile.in +++ b/openwrt/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 -- cgit v1.1