diff options
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/sdk-manual/sdk-extensible.xml | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/documentation/sdk-manual/sdk-extensible.xml b/documentation/sdk-manual/sdk-extensible.xml index ec53cb557a..9546bedc52 100644 --- a/documentation/sdk-manual/sdk-extensible.xml +++ b/documentation/sdk-manual/sdk-extensible.xml | |||
@@ -1363,11 +1363,9 @@ | |||
1363 | found" errors. | 1363 | found" errors. |
1364 | </para></listitem> | 1364 | </para></listitem> |
1365 | <listitem><para> | 1365 | <listitem><para> |
1366 | In order to support adding | 1366 | In order to support adding Node.js modules, a |
1367 | Node.js modules, a | 1367 | <filename>nodejs</filename> recipe must be part |
1368 | <filename>nodejs</filename> recipe must be part of your | 1368 | of your SDK. |
1369 | SDK in order to provide Node.js | ||
1370 | itself. | ||
1371 | </para></listitem> | 1369 | </para></listitem> |
1372 | </itemizedlist> | 1370 | </itemizedlist> |
1373 | </note> | 1371 | </note> |
@@ -1376,14 +1374,15 @@ | |||
1376 | <para> | 1374 | <para> |
1377 | As mentioned earlier, you can also add Node.js modules | 1375 | As mentioned earlier, you can also add Node.js modules |
1378 | directly from a repository or local source tree. | 1376 | directly from a repository or local source tree. |
1379 | To add modules this way, use <filename>devtool add</filename> in | 1377 | To add modules this way, use <filename>devtool add</filename> |
1380 | the following form: | 1378 | in the following form: |
1381 | <literallayout class='monospaced'> | 1379 | <literallayout class='monospaced'> |
1382 | $ devtool add https://github.com/diversario/node-ssdp | 1380 | $ devtool add https://github.com/diversario/node-ssdp |
1383 | </literallayout> | 1381 | </literallayout> |
1384 | In this example, <filename>devtool</filename> fetches the specified | 1382 | In this example, <filename>devtool</filename> fetches the |
1385 | Git repository, detects that the code is Node.js code, fetches | 1383 | specified Git repository, detects the code as Node.js |
1386 | dependencies using <filename>npm</filename>, and sets | 1384 | code, fetches dependencies using <filename>npm</filename>, and |
1385 | sets | ||
1387 | <ulink url='&YOCTO_DOCS_REF_URL;#var-SRC_URI'><filename>SRC_URI</filename></ulink> | 1386 | <ulink url='&YOCTO_DOCS_REF_URL;#var-SRC_URI'><filename>SRC_URI</filename></ulink> |
1388 | accordingly. | 1387 | accordingly. |
1389 | </para> | 1388 | </para> |