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>
This commit is contained in:
Wang Mingyu
2024-12-17 17:01:31 +08:00
committed by Khem Raj
parent 932f331dec
commit 31323ac641
3 changed files with 2 additions and 2 deletions
@@ -0,0 +1,17 @@
require nanopb.inc
EXTRA_OECMAKE += " \
-Dnanopb_PROTOC_PATH=/bin/false \
-DBUILD_SHARED_LIBS=ON \
-Dnanopb_BUILD_RUNTIME=ON \
-Dnanopb_BUILD_GENERATOR=OFF \
"
# Maintain compatability with old header locations for packages
# which haven't yet migrated to `nanopb/pb*.h`
do_install:append() {
for hdr in ${D}${includedir}/nanopb/*; do
ln -sv nanopb/$(basename "$hdr") ${D}${includedir}/
done
}