summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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