summaryrefslogtreecommitdiffstats
path: root/include/image.mk
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-05-05 06:14:32 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-05-05 06:14:32 +0000
commit7345822d30947ef190ed31f4afd20eb44044aee9 (patch)
tree05daa3ce94b14d17ce02fea0415cd055cbc43573 /include/image.mk
parent34653c1b78fbf56c80573f897c1184efa2700e55 (diff)
image/ext2: fix rootfs partition size after [21362]
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21369 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include/image.mk')
-rw-r--r--include/image.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/image.mk b/include/image.mk
index af4e10256..6df656b9f 100644
--- a/include/image.mk
+++ b/include/image.mk
@@ -129,7 +129,7 @@ ifneq ($(CONFIG_TARGET_ROOTFS_TARGZ),)
endif
ifneq ($(CONFIG_TARGET_ROOTFS_EXT2FS),)
- E2SIZE=$(shell echo $$(($(CONFIG_TARGET_ROOTFS_FSPART)*1024)))
+ E2SIZE=$(shell echo $$(($(CONFIG_TARGET_ROOTFS_PARTSIZE)*1024)))
define Image/mkfs/ext2
$(STAGING_DIR_HOST)/bin/genext2fs -U -b $(E2SIZE) -N $(CONFIG_TARGET_ROOTFS_MAXINODE) -d $(TARGET_DIR)/ $(KDIR)/root.ext2