1*73bd93f1SPatrick Williamsrequire nanopb.inc 2*73bd93f1SPatrick Williams 3*73bd93f1SPatrick WilliamsEXTRA_OECMAKE += " \ 4*73bd93f1SPatrick Williams -Dnanopb_PROTOC_PATH=/bin/false \ 5*73bd93f1SPatrick Williams -DBUILD_SHARED_LIBS=ON \ 6*73bd93f1SPatrick Williams -Dnanopb_BUILD_RUNTIME=ON \ 7*73bd93f1SPatrick Williams -Dnanopb_BUILD_GENERATOR=OFF \ 8*73bd93f1SPatrick Williams " 9*73bd93f1SPatrick Williams 10*73bd93f1SPatrick Williams# Maintain compatability with old header locations for packages 11*73bd93f1SPatrick Williams# which haven't yet migrated to `nanopb/pb*.h` 12*73bd93f1SPatrick Williamsdo_install:append() { 13*73bd93f1SPatrick Williams for hdr in ${D}${includedir}/nanopb/*; do 14*73bd93f1SPatrick Williams ln -sv nanopb/$(basename "$hdr") ${D}${includedir}/ 15*73bd93f1SPatrick Williams done 16*73bd93f1SPatrick Williams} 17*73bd93f1SPatrick Williams 18