linaro_swr: make build pg_agnostic and support 4k/16k page size kernels

To be able to support both 16k page size and 4k pagesize kernels with
the same images, the filesystem block size would need to be 4k. 16k
pagesize kernel can't work with 4k filesystem block size.

More performance gains can be seen if userspace if built for 16k
pagesize kernel where we can use a 16k filesystem block size as well.

While doing this, restrict /userdata to ext4 only, so this will work
without issues of f2fs not supporting different block sizes between fs
and kernel.

Change-Id: Ie7a89c6d78cf660daa0d47173d5b7ecf1f8227a3
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
2 files changed