diff --git a/config/functions b/config/functions index 405f52303c0..793ba089caa 100644 --- a/config/functions +++ b/config/functions @@ -357,11 +357,9 @@ setup_toolchain() { create_meson_conf() { local endian root properties case "$1" in - target|init) endian="little" - root="$SYSROOT_PREFIX/usr" + target|init) root="$SYSROOT_PREFIX/usr" ;; - host|bootstrap) endian="big" - root="$TOOLCHAIN" + host|bootstrap) root="$TOOLCHAIN" ;; esac @@ -380,7 +378,7 @@ llvm-config = '$SYSROOT_PREFIX/usr/bin/llvm-config-host' system = 'linux' cpu_family = '$TARGET_ARCH' cpu = '$TARGET_SUBARCH' -endian = '$endian' +endian = 'little' [properties] root = '$root'