mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
config/functions: endianness in meson cross is always little
This commit is contained in:
parent
505ccecbc8
commit
18d9847829
@ -357,11 +357,9 @@ setup_toolchain() {
|
|||||||
create_meson_conf() {
|
create_meson_conf() {
|
||||||
local endian root properties
|
local endian root properties
|
||||||
case "$1" in
|
case "$1" in
|
||||||
target|init) endian="little"
|
target|init) root="$SYSROOT_PREFIX/usr"
|
||||||
root="$SYSROOT_PREFIX/usr"
|
|
||||||
;;
|
;;
|
||||||
host|bootstrap) endian="big"
|
host|bootstrap) root="$TOOLCHAIN"
|
||||||
root="$TOOLCHAIN"
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
@ -380,7 +378,7 @@ llvm-config = '$SYSROOT_PREFIX/usr/bin/llvm-config-host'
|
|||||||
system = 'linux'
|
system = 'linux'
|
||||||
cpu_family = '$TARGET_ARCH'
|
cpu_family = '$TARGET_ARCH'
|
||||||
cpu = '$TARGET_SUBARCH'
|
cpu = '$TARGET_SUBARCH'
|
||||||
endian = '$endian'
|
endian = 'little'
|
||||||
|
|
||||||
[properties]
|
[properties]
|
||||||
root = '$root'
|
root = '$root'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user