Files
Wang Mingyu 31323ac641 nanopb-generator(-runtime): upgrade 0.4.9 -> 0.4.9.1
Changelog:
==========
- Fix memory not released on error return from pb_decode_ex()
- Fix deprecated MakeClass() call in generator
- Fix compiler error with enums and --c-style
- Fix version conflict with bazel build rules

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-12-19 09:41:24 -08: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}"