mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 17:59:59 +00:00
341c47848d
Some users would like to be able to share library code between multiple applications without embedding a static copy. Signed-off-by: William A. Kennington III <wak@google.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
|
|
}
|
|
|