Add intial comment about how to use iotivity library
authorsaerome.kim <saerome.kim@samsung.com>
Wed, 29 Nov 2017 08:43:07 +0000 (17:43 +0900)
committersaerome.kim <saerome.kim@samsung.com>
Mon, 2 Jul 2018 10:38:37 +0000 (19:38 +0900)
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
README.md

index 8fde10a..7d3026a 100644 (file)
--- a/README.md
+++ b/README.md
@@ -1 +1,21 @@
-# d2d-manager
\ No newline at end of file
+# d2d-manager\r
+\r
+To test d2d-manager and sample apps, you must build iotivity locally with following modifications:\r
+\r
+1. build_common/SConscript\r
+\r
++              defines.append('-DMULTIPLE_OWNER=1')\r
+\r
+2. packaging/iotivity.spec\r
++              %{!?MULTIPLE_OWNER: %define MULTIPLE_OWNER 1}\r
+\r
++              cp ./extlibs/cjson/cJSON.h %{buildroot}%{_includedir}\r
++              cp -R ./resource/csdk/connectivity/lib/libcoap-4.1.1/include/* %{buildroot}%{_includedir}\r
+\r
+\r
+After iotivity build succeeds, copy the following package to GBS-ROOT.\r
+\r
+~/GBS-ROOT/unified-standard/local/repos/unified_standard/armv7l/RPMS\r
+\r
+iotivity-1.2.1-9.armv7l.rpm\r
+iotivity-devel-1.2.1-9.armv7l.rpm\r