mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 05:49:57 +00:00
31323ac641
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>
18 lines
412 B
BlitzBasic
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
|
|
}
|
|
|