diff options
Diffstat (limited to 'meta-oe/dynamic-layers/meta-python/recipes-devtools/nanopb/nanopb-generator_0.4.9.1.bb')
| -rw-r--r-- | meta-oe/dynamic-layers/meta-python/recipes-devtools/nanopb/nanopb-generator_0.4.9.1.bb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-devtools/nanopb/nanopb-generator_0.4.9.1.bb b/meta-oe/dynamic-layers/meta-python/recipes-devtools/nanopb/nanopb-generator_0.4.9.1.bb new file mode 100644 index 0000000000..c86750f8b6 --- /dev/null +++ b/meta-oe/dynamic-layers/meta-python/recipes-devtools/nanopb/nanopb-generator_0.4.9.1.bb | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | require nanopb.inc | ||
| 2 | |||
| 3 | inherit python3-dir | ||
| 4 | |||
| 5 | DEPENDS = "protobuf-native" | ||
| 6 | RDEPENDS:${PN} += "python3-protobuf" | ||
| 7 | |||
| 8 | EXTRA_OECMAKE += " \ | ||
| 9 | -Dnanopb_PYTHON_INSTDIR_OVERRIDE=${PYTHON_SITEPACKAGES_DIR} \ | ||
| 10 | -Dnanopb_BUILD_RUNTIME=OFF \ | ||
| 11 | -Dnanopb_BUILD_GENERATOR=ON \ | ||
| 12 | " | ||
| 13 | |||
| 14 | FILES:${PN} += "${PYTHON_SITEPACKAGES_DIR}" | ||
