This commit is contained in:
Dave Neary 2025-06-02 21:54:12 +03:00 committed by GitHub
commit 99bccf5f10
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1911,6 +1911,14 @@ case "${host}" in
LG_PAGE=14
fi
;;
aarch64-*-linux-gnu*)
dnl When cross-compile for 64 bit Arm64, in the absence of an explicit flag setting page size,
dnl use memory granularity of 64K to ensure that 64K and 16K kernel sizes (default for many
dnl distros) function al all.
if test "x$LG_PAGE" = "xdetect"; then
LG_PAGE=16
fi
;;
esac
if test "x$LG_PAGE" = "xdetect"; then
AC_CACHE_CHECK([LG_PAGE],