Thomas Heijligen has uploaded this change for review.

View Change

meson: replace target_machine by host_machine

The target_machine object is only used for compiling compilers. The
host_machine onject has the description of the execution environment of
the build binary.
https://mesonbuild.com/Cross-compilation.html

Change-Id: I4a32c73052c3707607738c72256fb4366a2bf8ce
Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com>
---
M meson.build
1 file changed, 1 insertion(+), 1 deletion(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/97/61197/1
diff --git a/meson.build b/meson.build
index b2e2d72..66f6985 100644
--- a/meson.build
+++ b/meson.build
@@ -225,7 +225,7 @@
srcs += 'chipset_enable.c'
srcs += 'internal.c'
srcs += 'processor_enable.c'
- if target_machine.cpu_family() == 'x86' or target_machine.cpu_family() == 'x86_64'
+ if host_machine.cpu_family() == 'x86' or host_machine.cpu_family() == 'x86_64'
srcs += 'amd_imc.c'
srcs += 'dmi.c'
srcs += 'ichspi.c'

To view, visit change 61197. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I4a32c73052c3707607738c72256fb4366a2bf8ce
Gerrit-Change-Number: 61197
Gerrit-PatchSet: 1
Gerrit-Owner: Thomas Heijligen <src@posteo.de>
Gerrit-MessageType: newchange