allow the user to change the rb532 rootfs size in menuconfig (fixes #1374)
authorFelix Fietkau <nbd@openwrt.org>
Wed, 28 Feb 2007 00:06:37 +0000 (00:06 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 28 Feb 2007 00:06:37 +0000 (00:06 +0000)
SVN-Revision: 6417

Config.in
target/linux/rb532-2.6/image/Makefile

index 0b6fa959272c8aaca4eb1160e0fc1dd42fd8a186..cdc7b6e2ddb354d185b90ac4bb30eda5c6551a65 100644 (file)
--- a/Config.in
+++ b/Config.in
@@ -109,14 +109,14 @@ source "target/linux/*/image/Config.in"
 
     config TARGET_ROOTFS_FSPART
         int "Filesystem part size (in MB)"
-        depends X86_GRUB_IMAGES || TARGET_ROOTFS_EXT2FS
+        depends X86_GRUB_IMAGES || TARGET_ROOTFS_EXT2FS || LINUX_2_6_RB532
         default 16
         help
             Allows you to change the filesystem partition size
 
     config TARGET_ROOTFS_MAXINODE
         int "Maximum number of inodes in filesystem"
-        depends X86_GRUB_IMAGES || TARGET_ROOTFS_EXT2FS
+        depends TARGET_ROOTFS_EXT2FS
         default 1500
         help
             Allows you to change the maximum number of inodes in the filesystem
index 2ded1c078849af51ede68d476f0df23f5f1e2cbe..b35b0b1e7bb686278900de0f5239001fd03ee19d 100644 (file)
@@ -52,7 +52,7 @@ endef
 
 define Image/Build
        $(STAGING_DIR)/bin/patch-cmdline $(KDIR)/vmlinux.elf '$(strip $(call Image/cmdline/$(1))) '
-       ./gen_image.sh $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1).bin 4 $(KDIR)/vmlinux.elf 16 $(KDIR)/root.$(1)
+       ./gen_image.sh $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1).bin 4 $(KDIR)/vmlinux.elf $(CONFIG_TARGET_ROOTFS_FSPART) $(KDIR)/root.$(1)
 endef
 
 $(eval $(call BuildImage))