Skip to contentSkip to conversation

eal: fix error message for unsupported platforms

PATCH Applied Bruce Richardson 2 participants 3 messages Jul 20, 2018 – Jul 26, 2018 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 eal: fix error message for unsupported platforms

When building with meson on e.g. cygwin, the error message about an unsupported platform referenced an unknown variable since "host_machine" was missing an "_".

Fixes 844514c73569 ("eal: build with meson")
---
 lib/librte_eal/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/librte_eal/meson.build +1 -1
index 259bb4464..98174476c 100644
@@ -18,7 +18,7 @@ elif host_machine.system() == 'freebsd'
 	subdir('bsdapp/eal')
 
 else
-	error('unsupported system type @0@'.format(hostmachine.system()))
+	error('unsupported system type "@0@"'.format(host_machine.system()))
 endif
 
 version = 7  # the version of the EAL API
Signature · 1 line
2.17.0
#1 lore raw

20/07/2018 16:13, Bruce Richardson:

Quoted 7 lines

When building with meson on e.g. cygwin, the error message about an unsupported platform referenced an unknown variable since "host_machine" was missing an "_".

Fixes 844514c73569 ("eal: build with meson")

Applied, thanks