configure was querying the host's page size. Avoid this and set a value based on the target insteadl. aarch64 is the only one we commonly build which isn't 4k as far as I know.
Signed-off-by: Richard Purdie <[email protected]> --- meta/recipes-devtools/erofs-utils/erofs-utils_1.9.4.bb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meta/recipes-devtools/erofs-utils/erofs-utils_1.9.4.bb b/meta/recipes-devtools/erofs-utils/erofs-utils_1.9.4.bb index 45339656b5b..21e5be73c42 100644 --- a/meta/recipes-devtools/erofs-utils/erofs-utils_1.9.4.bb +++ b/meta/recipes-devtools/erofs-utils/erofs-utils_1.9.4.bb @@ -17,6 +17,11 @@ PACKAGECONFIG ??= "lz4 zlib" PACKAGECONFIG[lz4] = "--enable-lz4,--disable-lz4,lz4" PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib" +# Would otherwise query the build system +BLOCKSIZE = "4096" +BLOCKSIZE:aarch64 = "16384" +CACHED_CONFIGUREVARS += "erofs_cv_max_block_size=${BLOCKSIZE}" + EXTRA_OECONF = "${PACKAGECONFIG_CONFARGS} --disable-fuse" CFLAGS:append:powerpc64le = " -D__SANE_USERSPACE_TYPES__"
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#246691): https://lists.openembedded.org/g/openembedded-core/message/246691 Mute This Topic: https://lists.openembedded.org/mt/121458039/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
