Commit 81107c91 authored by Mats Wichmann's avatar Mats Wichmann Committed by Phil Coval

build: Improve target message in build_common

Improve the text of host/target unsup message in build_common

No operational changes

Change-Id: I6a8b95fac210a8f80132bebab148a67dfa76d51d
Signed-off-by: default avatarMats Wichmann <mats@linux.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/19637Tested-by: default avatarjenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: default avatarPhil Coval <philippe.coval@osg.samsung.com>
(cherry picked from commit 570d343a)
Bug: https://jira.iotivity.org/browse/IOT-1745Signed-off-by: default avatarPhil Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/20579Reviewed-by: default avatarHabib Virji <habib.virji@samsung.com>
parent 61dcfa99
......@@ -37,7 +37,7 @@ if 'msys_nt' in host:
host = 'msys_nt'
if host not in host_target_map:
print "\nError: Current system (%s) isn't supported\n" % host
print "\nError: building on '%s' is not currently supported.\n" % host
Exit(1)
######################################################################
......@@ -46,7 +46,7 @@ if host not in host_target_map:
target_os = ARGUMENTS.get('TARGET_OS', host).lower() # target os
if target_os not in host_target_map[host]:
print "\nError: Unknown target os: %s (Allow values: %s)\n" % (target_os, host_target_map[host])
print "\nError: '%s' host cannot build for '%s' target.\navailable targets: %s\n" % (host, target_os, host_target_map[host])
Exit(1)
if target_os == 'android':
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment