Browse Source

building.md: add information to rebuild only one scripting module in doc

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll 10 years ago
parent
commit
22ad93956c
1 changed files with 11 additions and 0 deletions
  1. 11
    0
      docs/building.md

+ 11
- 0
docs/building.md View File

@@ -29,3 +29,14 @@ Building debug build:
29 29
 Using clang instead of gcc:
30 30
  -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang
31 31
 
32
+Often developers are only interested in building one module or even just the
33
+python/node module to do some quick testing using scripting. In order to do
34
+this you need to use the target name for the python or node module you want to
35
+rebuild. For example the lcd module target name is i2clcd. Therfore the python
36
+module target name will be prefixed by _pyupm_. Just do the following to build
37
+only that module. Modules not using the UPM cmake macros may have different
38
+naming.
39
+
40
+~~~~~~~~~~~~~
41
+make _pyupm_i2clcd
42
+~~~~~~~~~~~~~