020-linux-Add-more-architectures.patch 2.1 KB

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