summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Pikuła <m.pikula@partner.samsung.com>2022-11-07 15:18:32 +0100
committerŁukasz Stelmach <l.stelmach@samsung.com>2022-11-17 14:26:44 +0100
commita5b4fe80c18329aa044fc1678d44ba76a45aea5b (patch)
treede42dbc646eab1425d6c555cfec23dea977ab9d5
parentf55c442dcbbeefed28d5d74bb8e9017f31ece1e6 (diff)
downloadiotivity-a5b4fe80c18329aa044fc1678d44ba76a45aea5b.tar.gz
iotivity-a5b4fe80c18329aa044fc1678d44ba76a45aea5b.tar.bz2
iotivity-a5b4fe80c18329aa044fc1678d44ba76a45aea5b.zip
Change-Id: Ia6d62a0cea22be8fa8e0a4a15e75498f0ac1a8ad Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
-rwxr-xr-xbuild_common/SConscript2
-rw-r--r--packaging/iotivity.spec3
-rw-r--r--resource/csdk/connectivity/build/SConscript2
-rw-r--r--tools/tizen/iotivity-vd-tv-es-tizen30.spec3
-rw-r--r--tools/tizen/iotivity-vd-tv-tizen30.spec3
-rwxr-xr-xtools/tizen/iotivity.spec3
6 files changed, 14 insertions, 2 deletions
diff --git a/build_common/SConscript b/build_common/SConscript
index ed663ef01..4bed93ba1 100755
--- a/build_common/SConscript
+++ b/build_common/SConscript
@@ -19,7 +19,7 @@ host_target_map = {
# Map of os and allowed archs (os: allowed archs)
os_arch_map = {
'linux': ['x86', 'x86_64', 'arm', 'arm-v7a', 'armeabi-v7a', 'arm64'],
- 'tizen': ['x86', 'x86_64', 'arm', 'arm-v7a', 'armeabi-v7a', 'arm64'],
+ 'tizen': ['x86', 'x86_64', 'arm', 'arm-v7a', 'armeabi-v7a', 'arm64', 'riscv64'],
'android': ['x86', 'x86_64', 'armeabi', 'armeabi-v7a', 'armeabi-v7a-hard', 'arm64-v8a'],
'windows': ['x86', 'amd64', 'arm'],
'msys_nt':['x86', 'x86_64'],
diff --git a/packaging/iotivity.spec b/packaging/iotivity.spec
index 6e92627c6..646e2e59a 100644
--- a/packaging/iotivity.spec
+++ b/packaging/iotivity.spec
@@ -46,6 +46,9 @@ Source1002: %{name}-test.manifest
%ifarch aarch64
%define TARGET_ARCH "arm64"
%endif
+%ifarch riscv64
+%define TARGET_ARCH "riscv64"
+%endif
%ifarch x86_64
%define TARGET_ARCH "x86_64"
%endif
diff --git a/resource/csdk/connectivity/build/SConscript b/resource/csdk/connectivity/build/SConscript
index 05be0219d..946dd49b6 100644
--- a/resource/csdk/connectivity/build/SConscript
+++ b/resource/csdk/connectivity/build/SConscript
@@ -15,7 +15,7 @@ host_target_map = {
# Map of os and allowed archs (os: allowed archs)
os_arch_map = {
'linux': ['x86', 'x86_64', 'arm', 'arm64'],
- 'tizen': ['x86', 'x86_64', 'arm', 'arm64'],
+ 'tizen': ['x86', 'x86_64', 'arm', 'arm64', 'riscv64'],
'android': ['x86', 'x86_64', 'armeabi', 'armeabi-v7a', 'armeabi-v7a-hard', 'arm64-v8a'],
'windows': ['x86', 'amd64', 'arm'],
'darwin': ['i386', 'x86_64'],
diff --git a/tools/tizen/iotivity-vd-tv-es-tizen30.spec b/tools/tizen/iotivity-vd-tv-es-tizen30.spec
index 6b4b9b447..50e3129ce 100644
--- a/tools/tizen/iotivity-vd-tv-es-tizen30.spec
+++ b/tools/tizen/iotivity-vd-tv-es-tizen30.spec
@@ -46,6 +46,9 @@ Source1002: %{name}-test.manifest
%ifarch aarch64
%define TARGET_ARCH "arm64"
%endif
+%ifarch riscv64
+%define TARGET_ARCH "riscv64"
+%endif
%ifarch x86_64
%define TARGET_ARCH "x86_64"
%endif
diff --git a/tools/tizen/iotivity-vd-tv-tizen30.spec b/tools/tizen/iotivity-vd-tv-tizen30.spec
index 6c173bd62..6568be126 100644
--- a/tools/tizen/iotivity-vd-tv-tizen30.spec
+++ b/tools/tizen/iotivity-vd-tv-tizen30.spec
@@ -46,6 +46,9 @@ Source1002: %{name}-test.manifest
%ifarch aarch64
%define TARGET_ARCH "arm64"
%endif
+%ifarch riscv64
+%define TARGET_ARCH "riscv64"
+%endif
%ifarch x86_64
%define TARGET_ARCH "x86_64"
%endif
diff --git a/tools/tizen/iotivity.spec b/tools/tizen/iotivity.spec
index 5b9e3e396..5b3f3dfcb 100755
--- a/tools/tizen/iotivity.spec
+++ b/tools/tizen/iotivity.spec
@@ -46,6 +46,9 @@ Source1002: %{name}-test.manifest
%ifarch aarch64
%define TARGET_ARCH "arm64"
%endif
+%ifarch riscv64
+%define TARGET_ARCH "riscv64"
+%endif
%ifarch x86_64
%define TARGET_ARCH "x86_64"
%endif