aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-core/iotivity/files/hippomocks_mips_patch
diff options
context:
space:
mode:
authorKishen Maloor <kishen.maloor@intel.com>2015-10-28 16:55:32 -0700
committerKishen Maloor <kishen.maloor@intel.com>2015-10-28 16:55:32 -0700
commit39e8fc783a0bd1c0449b159a55ff34c56f89f8f1 (patch)
tree5e12d3daafa7404e0dd09f049ad1d88121745033 /recipes-core/iotivity/files/hippomocks_mips_patch
parentfc9e3e1c48aa7b11c214a1a8569e83010e5031d7 (diff)
downloadmeta-oic-39e8fc783a0bd1c0449b159a55ff34c56f89f8f1.tar.gz
meta-oic update for IoTivity 1.0 release
* Added new IoTivity recipe for building 1.0 resource and service components. Removed older 0.9.2 recipe. * Added separate source code patches for: * Extending list of supported Yocto target architectures in IoTivity's scons build. * Passing Yocto's PKG_CONFIG.. settings to scons. * Excluding the ZigBee plug-in in the Yocto build. * Allowing hippomocks based unit tests to build on a MIPS target. * Updated source for the iotivity-simple-client recipe sample. Signed-off-by: Kishen Maloor <kishen.maloor@intel.com>
Diffstat (limited to 'recipes-core/iotivity/files/hippomocks_mips_patch')
-rw-r--r--recipes-core/iotivity/files/hippomocks_mips_patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes-core/iotivity/files/hippomocks_mips_patch b/recipes-core/iotivity/files/hippomocks_mips_patch
new file mode 100644
index 0000000..4fe6195
--- /dev/null
+++ b/recipes-core/iotivity/files/hippomocks_mips_patch
@@ -0,0 +1,11 @@
+--- iotivity-0.9.2/extlibs/hippomocks-master/HippoMocks/hippomocks.h 2015-02-05 01:38:46.000000000 -0800
++++ iotivity/extlibs/hippomocks-master/HippoMocks/hippomocks.h 2015-09-21 01:19:18.516718907 -0700
+@@ -89,6 +89,8 @@ extern "C" __declspec(dllimport) void WI
+ #define SOME_X86
+ #elif defined(arm) || defined(__arm__) || defined(ARM) || defined(_ARM_)
+ #define SOME_ARM
++#elif defined(mips) || defined(__mips__)
++#define SOME_ARM
+ #endif
+
+ #if defined(__x86_64__) || defined(_M_X64)