From ef388926d02954b1aab1d1336e6c73aa10ea2e78 Mon Sep 17 00:00:00 2001 From: "Jon A. Cruz" Date: Thu, 19 Mar 2015 14:00:06 -0700 Subject: [PATCH] Do not try to build OICMiddle examples on arduino. When the target OS is arduino, avoid attempting to build the OICMiddle example since it is C++ and not supported for that platform. Change-Id: I054ab220214c707954f4bf3cf17b6667ee9a82a6 Signed-off-by: Jon A. Cruz Reviewed-on: https://gerrit.iotivity.org/gerrit/517 Tested-by: jenkins-iotivity Reviewed-by: Joseph Morrow Reviewed-by: Erich Keane --- SConstruct | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index d58a301..6f2f254 100644 --- a/SConstruct +++ b/SConstruct @@ -47,7 +47,8 @@ build_dir = env.get('BUILD_DIR') # Build 'resource' sub-project SConscript(build_dir + 'resource/SConscript') -SConscript(build_dir + 'examples/OICMiddle/SConscript') +if target_os != 'arduino': + SConscript(build_dir + 'examples/OICMiddle/SConscript') # Build 'service' sub-project SConscript(build_dir + 'service/SConscript') -- 2.7.4