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

18 lines
412 B
BlitzBasic

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
}