blob: e43931a4ec5dd3dfce9e57d85d33ab65ac0f65e1 [file] [log] [blame]
William A. Kennington III68dc6002024-02-08 16:19:06 -08001require nanopb.inc
2
3EXTRA_OECMAKE += " \
4 -Dnanopb_PROTOC_PATH=/bin/false \
5 -DBUILD_SHARED_LIBS=ON \
6 -Dnanopb_BUILD_RUNTIME=ON \
7 -Dnanopb_BUILD_GENERATOR=OFF \
8 "
9
10# Maintain compatability with old header locations for packages
11# which haven't yet migrated to `nanopb/pb*.h`
12do_install:append() {
13 for hdr in ${D}${includedir}/nanopb/*; do
14 ln -sv nanopb/$(basename "$hdr") ${D}${includedir}/
15 done
16}
17