summaryrefslogtreecommitdiff
path: root/openwrt/target/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/target/Makefile.in')
-rw-r--r--openwrt/target/Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/openwrt/target/Makefile.in b/openwrt/target/Makefile.in
index 15cf6bdede..22cd7a4208 100644
--- a/openwrt/target/Makefile.in
+++ b/openwrt/target/Makefile.in
@@ -6,7 +6,8 @@ TARGET_SKEL_DIR=target/default/target_skeleton
include target/device/Makefile.in
ifeq ($(strip $(BR2_TARGET_ROOTFS_JFFS2)),y)
-JFFS2FLAGS+=-a 131072
+include target/jffs2/blocksize.mk
+JFFS2FLAGS+=-a $(JFFS2_BLOCK_SIZE)
endif