Commit based upon d6442850bde61f0c3e7e2ae3247b4a856073c5e0
[librecmc/package-feed.git] / net / iotivity / patches / 020-linux-Add-more-architectures.patch
1 From dabd6597013e1df72b08621b466d136b8d25d110 Mon Sep 17 00:00:00 2001
2 From: Philippe Coval <philippe.coval@osg.samsung.com>
3 Date: Thu, 29 Sep 2016 10:57:59 +0200
4 Subject: [PATCH 20/23] linux: Add more architectures
5
6 This does not scale and this check should be removed.
7
8 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
9 Author: Hauke Mehrtens <hauke@hauke-m.de>
10 Change-Id: Ibb271701904745ee4f5dd689c197228239c37262
11 Origin: https://github.com/openwrt/packages/blob/master/net/iotivity/patches/021-add-some-more-architectures.patch
12 Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
13 Reviewed-on: https://gerrit.iotivity.org/gerrit/14575
14 Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
15 Reviewed-by: Nivedita Singhvi <niveditasinghvi@gmail.com>
16 Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com>
17 Reviewed-by: Hauke Mehrtens <hauke.mehrtens@intel.com>
18 ---
19  build_common/SConscript                     | 2 +-
20  resource/csdk/connectivity/build/SConscript | 2 +-
21  2 files changed, 2 insertions(+), 2 deletions(-)
22
23 --- a/build_common/SConscript
24 +++ b/build_common/SConscript
25 @@ -18,7 +18,7 @@ host_target_map = {
26  
27  # Map of os and allowed archs (os: allowed archs)
28  os_arch_map = {
29 -               'linux': ['x86', 'x86_64', 'arm', 'arm-v7a', 'armeabi-v7a', 'arm64'],
30 +               'linux': ['x86', 'x86_64', 'arm', 'arm-v7a', 'armeabi-v7a', 'arm64', 'mips', 'mipsel', 'mips64', 'mips64el', 'i386', 'powerpc', 'sparc', 'aarch64'],
31                 'tizen': ['x86', 'x86_64', 'arm', 'arm-v7a', 'armeabi-v7a', 'arm64'],
32                 'android': ['x86', 'x86_64', 'armeabi', 'armeabi-v7a', 'armeabi-v7a-hard', 'arm64-v8a'],
33                 'windows': ['x86', 'amd64', 'arm'],
34 --- a/resource/csdk/connectivity/build/SConscript
35 +++ b/resource/csdk/connectivity/build/SConscript
36 @@ -14,7 +14,7 @@ host_target_map = {
37  
38  # Map of os and allowed archs (os: allowed archs)
39  os_arch_map = {
40 -               'linux': ['x86', 'x86_64', 'arm', 'arm64'],
41 +               'linux': ['x86', 'x86_64', 'arm', 'arm64', 'mips', 'mipsel', 'mips64', 'mips64el', 'i386', 'powerpc', 'sparc', 'aarch64'],
42                 'tizen': ['x86', 'x86_64', 'arm', 'arm64'],
43                 'android': ['x86', 'x86_64', 'armeabi', 'armeabi-v7a', 'armeabi-v7a-hard', 'arm64-v8a'],
44                 'windows': ['x86', 'amd64', 'arm'],