docs: fix the meson aarch64 cross-file
authorEric Engestrom <eric.engestrom@intel.com>
Thu, 3 Jan 2019 15:44:42 +0000 (15:44 +0000)
committerEric Engestrom <eric.engestrom@intel.com>
Thu, 3 Jan 2019 18:53:21 +0000 (18:53 +0000)
`gcc-ar` is preferred over the generic `ar`, and the `arm` family is
for 32-bit ARM [1].

[1] https://mesonbuild.com/Reference-tables.html#cpu-families

Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
docs/meson.html

index 3bef8083f9b5732e56fd105b4ba8d901cb385d1d..89a19dd27410b3138a96ff8fc381843e61c5e3be 100644 (file)
@@ -286,14 +286,14 @@ endian = 'little'
 [binaries]
 c = '/usr/bin/aarch64-linux-gnu-gcc'
 cpp = '/usr/bin/aarch64-linux-gnu-g++'
-ar = '/usr/bin/aarch64-linux-gnu-ar'
+ar = '/usr/bin/aarch64-linux-gnu-gcc-ar'
 strip = '/usr/bin/aarch64-linux-gnu-strip'
 pkgconfig = '/usr/bin/aarch64-linux-gnu-pkg-config'
 exe_wrapper = '/usr/bin/qemu-aarch64-static'
 
 [host_machine]
 system = 'linux'
-cpu_family = 'arm'
+cpu_family = 'aarch64'
 cpu = 'aarch64'
 endian = 'little'
 </pre>