[LEDE-DEV] [PATCH] include: image.mk: ext4: double the default inode counter

Bastian Bittorf bb at npl.de
Sat Nov 12 01:15:57 PST 2016


* Bastian Bittorf <bb at npl.de> [12.11.2016 09:54]:
> +# doubles the default inode amount
> +INODES=$(shell echo $$(($(CONFIG_TARGET_ROOTFS_PARTSIZE)*64*2)))
>  E2SIZE=$(shell echo $$(($(CONFIG_TARGET_ROOTFS_PARTSIZE)*1024*1024)))

bye the way:
i mimic'ed the existing style, but is'nt this too much?
can't this be expressed like this:

INODES=$(( $(CONFIG_TARGET_ROOTFS_PARTSIZE)*64*2 ))

(instead of explicitely calling the shell)

bye, bastian



More information about the Lede-dev mailing list