Browse Source

wscript: ensure nanopb is configured when building with --onlysdk

Fixes builds failing with --onlysdk due to missing nanopb headers in the include
path.

Signed-off-by: Ruby Iris Juric <ruby@srxl.me>
Ruby Iris Juric 1 week ago
parent
commit
131cc0b60d
1 changed files with 2 additions and 0 deletions
  1. 2 0
      wscript

+ 2 - 0
wscript

@@ -713,6 +713,8 @@ def build(bld):
         return
 
     if bld.options.onlysdk:
+        # required to build src/idl
+        bld.recurse('third_party/nanopb')
         # stop here, sdk generation is done
         return