William A. Kennington III | 68dc600 | 2024-02-08 16:19:06 -0800 | [diff] [blame] | 1 | require nanopb.inc |
2 | |||||
3 | inherit python3-dir | ||||
4 | |||||
5 | DEPENDS = "protobuf-native" | ||||
6 | RDEPENDS:${PN} += "python3-protobuf" | ||||
7 | |||||
8 | EXTRA_OECMAKE += " \ | ||||
9 | -Dnanopb_PYTHON_INSTDIR_OVERRIDE=${PYTHON_SITEPACKAGES_DIR} \ | ||||
10 | -Dnanopb_BUILD_RUNTIME=OFF \ | ||||
11 | -Dnanopb_BUILD_GENERATOR=ON \ | ||||
12 | " | ||||
13 | |||||
14 | FILES:${PN} += "${PYTHON_SITEPACKAGES_DIR}" |