tizen: Drop TARGET_ARCH from gbsbuild.sh
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Wed, 28 Jun 2017 04:18:04 +0000 (06:18 +0200)
committerPhil Coval <philippe.coval@osg.samsung.com>
Thu, 29 Jun 2017 22:35:22 +0000 (22:35 +0000)
Instead rely on gbs -a arg to select desired arch

Revert "tizen: Use TARGET_ARCH in samples"

This reverts commit 4be7601cb4b0747132b5ae04ceaeea7541976b93.
https://gerrit.iotivity.org/gerrit/#/c/19055/

Bug: https://jira.iotivity.org/browse/IOT-2032
Change-Id: I4be7601cb4b0747132b5ae04ceaeea7541976b93
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/21099
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
resource/csdk/stack/samples/tizen/build/SConscript

index 8f7cecd..fc84f16 100644 (file)
@@ -6,7 +6,6 @@ SConscript('./resource/csdk/connectivity/build/SConscript')
 
 Import('env')
 
-target_arch = env.get('TARGET_ARCH')
 target_os = env.get('TARGET_OS')
 transport = env.get('TARGET_TRANSPORT')
 buildsample = env.get('BUILD_SAMPLE')
@@ -43,9 +42,9 @@ print "Given OS is %s" % target_os
 print "Given MQ is %s" % with_mq
 
 if target_os == 'tizen':
-    command = "./resource/csdk/stack/samples/tizen/build/gbsbuild.sh %s %s %s %s %s %s %s %s %s %s" % (
+    command = "./resource/csdk/stack/samples/tizen/build/gbsbuild.sh %s %s %s %s %s %s %s %s %s" % (
         transport, secured, buildsample, release_mode, logging, routing,
-        with_tcp, with_proxy, with_mq, target_arch)
+        with_tcp, with_proxy, with_mq)
     print "Created Command is %s" % command
     gbs_script = env.Command('gbs_build', None, command)
     AlwaysBuild('gbs_script')