Wang Mingyu 4d64a20ff6
nanopb: upgrade 0.4.8 -> 0.4.9
Changelog:
==========
- Fix problems with enum intsize introduced in 0.4.8
- Fix Python pkg_resources deprecation
- Add option to discard deprecated fields
- Use fallback_type when breaking circular dependencies
- Discard autogenerated map entry types if the field is skipped
- Use pb_byte_t = uint8_t when available
- Add enum_validate option
- Add check_return attribute for IAR compiler
- Add label_override field option
- Add Zephyr module specification
- Add Apple privacy manifest
- Bazel rule improvements, including bzlmod migration
- CMake build rule improvements
- Improve C++ descriptors
- Test case improvements
- Update dependency package versions
- Documentation improvements

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-30 07:34:23 -07:00

15 lines
304 B
BlitzBasic

require nanopb.inc
inherit python3-dir
DEPENDS = "protobuf-native"
RDEPENDS:${PN} += "python3-protobuf"
EXTRA_OECMAKE += " \
-Dnanopb_PYTHON_INSTDIR_OVERRIDE=${PYTHON_SITEPACKAGES_DIR} \
-Dnanopb_BUILD_RUNTIME=OFF \
-Dnanopb_BUILD_GENERATOR=ON \
"
FILES:${PN} += "${PYTHON_SITEPACKAGES_DIR}"