allow the user to change the rb532 rootfs size in menuconfig (fixes #1374)
SVN-Revision: 6417
This commit is contained in:
parent
89b89ef77d
commit
295d0a7e82
2 changed files with 3 additions and 3 deletions
|
@ -109,14 +109,14 @@ source "target/linux/*/image/Config.in"
|
||||||
|
|
||||||
config TARGET_ROOTFS_FSPART
|
config TARGET_ROOTFS_FSPART
|
||||||
int "Filesystem part size (in MB)"
|
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
|
default 16
|
||||||
help
|
help
|
||||||
Allows you to change the filesystem partition size
|
Allows you to change the filesystem partition size
|
||||||
|
|
||||||
config TARGET_ROOTFS_MAXINODE
|
config TARGET_ROOTFS_MAXINODE
|
||||||
int "Maximum number of inodes in filesystem"
|
int "Maximum number of inodes in filesystem"
|
||||||
depends X86_GRUB_IMAGES || TARGET_ROOTFS_EXT2FS
|
depends TARGET_ROOTFS_EXT2FS
|
||||||
default 1500
|
default 1500
|
||||||
help
|
help
|
||||||
Allows you to change the maximum number of inodes in the filesystem
|
Allows you to change the maximum number of inodes in the filesystem
|
||||||
|
|
|
@ -52,7 +52,7 @@ endef
|
||||||
|
|
||||||
define Image/Build
|
define Image/Build
|
||||||
$(STAGING_DIR)/bin/patch-cmdline $(KDIR)/vmlinux.elf '$(strip $(call Image/cmdline/$(1))) '
|
$(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
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildImage))
|
$(eval $(call BuildImage))
|
||||||
|
|
Loading…
Reference in a new issue