diff options
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/dev-manual/devtool.rst | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/documentation/dev-manual/devtool.rst b/documentation/dev-manual/devtool.rst index 2e3de7a096..2f17d50930 100644 --- a/documentation/dev-manual/devtool.rst +++ b/documentation/dev-manual/devtool.rst | |||
@@ -1046,7 +1046,8 @@ mind: | |||
1046 | 1046 | ||
1047 | - The environment in which Make runs is set up with various standard | 1047 | - The environment in which Make runs is set up with various standard |
1048 | variables for compilation (e.g. :term:`CC`, :term:`CXX`, and so forth) in a | 1048 | variables for compilation (e.g. :term:`CC`, :term:`CXX`, and so forth) in a |
1049 | similar manner to the environment set up by the SDK's environment | 1049 | similar manner to the environment set up by an :ref:`SDK |
1050 | <overview-manual/concepts:Application Development SDK>`'s environment | ||
1050 | setup script. One easy way to see these variables is to run the | 1051 | setup script. One easy way to see these variables is to run the |
1051 | ``devtool build`` command on the recipe and then look in | 1052 | ``devtool build`` command on the recipe and then look in |
1052 | ``oe-logs/run.do_compile``. Towards the top of this file, there is | 1053 | ``oe-logs/run.do_compile``. Towards the top of this file, there is |
@@ -1132,9 +1133,6 @@ these behaviors ensure the reproducibility and integrity of the build. | |||
1132 | ``devtool add`` does not receive the other parts, which results in | 1133 | ``devtool add`` does not receive the other parts, which results in |
1133 | several "command not found" errors. | 1134 | several "command not found" errors. |
1134 | 1135 | ||
1135 | - In order to support adding Node.js modules, a ``nodejs`` recipe | ||
1136 | must be part of your SDK. | ||
1137 | |||
1138 | As mentioned earlier, you can also add Node.js modules directly from a | 1136 | As mentioned earlier, you can also add Node.js modules directly from a |
1139 | repository or local source tree. To add modules this way, use | 1137 | repository or local source tree. To add modules this way, use |
1140 | ``devtool add`` in the following form:: | 1138 | ``devtool add`` in the following form:: |
@@ -1242,10 +1240,8 @@ Recipes often need to use files provided by other recipes on the | |||
1242 | :term:`Build Host`. For example, | 1240 | :term:`Build Host`. For example, |
1243 | an application linking to a common library needs access to the library | 1241 | an application linking to a common library needs access to the library |
1244 | itself and its associated headers. The way this access is accomplished | 1242 | itself and its associated headers. The way this access is accomplished |
1245 | within the extensible SDK is through the sysroot. There is one sysroot per | 1243 | is through the :term:`Sysroot`. There is a sysroot for the target machine, and a |
1246 | "machine" for which the SDK is being built. In practical terms, this | 1244 | sysroot for the build host. |
1247 | means there is a sysroot for the target machine, and a sysroot for | ||
1248 | the build host. | ||
1249 | 1245 | ||
1250 | Recipes should never write files directly into the sysroot. Instead, | 1246 | Recipes should never write files directly into the sysroot. Instead, |
1251 | files should be installed into standard locations during the | 1247 | files should be installed into standard locations during the |
@@ -1259,8 +1255,7 @@ remain free from stale files. | |||
1259 | Packaging | 1255 | Packaging |
1260 | --------- | 1256 | --------- |
1261 | 1257 | ||
1262 | Packaging is not always particularly relevant within the extensible SDK. | 1258 | If you examine how build output gets into the final image on |
1263 | However, if you examine how build output gets into the final image on | ||
1264 | the target device, it is important to understand packaging because the | 1259 | the target device, it is important to understand packaging because the |
1265 | contents of the image are expressed in terms of packages and not | 1260 | contents of the image are expressed in terms of packages and not |
1266 | recipes. | 1261 | recipes. |