From: Mats Wichmann Date: Thu, 4 May 2017 15:09:12 +0000 (-0600) Subject: build: Improve target message in build_common X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=81107c91b16e4c7e314e2e3026e547a6e5cc0d1e;p=platform%2Fupstream%2Fiotivity.git 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: Mats Wichmann Reviewed-on: https://gerrit.iotivity.org/gerrit/19637 Tested-by: jenkins-iotivity Reviewed-by: Phil Coval (cherry picked from commit 570d343aa00bb5b503c7c6cea904eb52691a42e0) Bug: https://jira.iotivity.org/browse/IOT-1745 Signed-off-by: Phil Coval Reviewed-on: https://gerrit.iotivity.org/gerrit/20579 Reviewed-by: Habib Virji --- diff --git a/build_common/SConscript b/build_common/SConscript index c575ad2..08cef23 100755 --- a/build_common/SConscript +++ b/build_common/SConscript @@ -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':