nanopb: Split into 2 packages

This makes it possible to avoid building components which are not used
in the native or runtime tooling. Most users of nanopb just want to
build `nanopb-generator-native` and `nanopb-runtime` and not the other
two combinations as they are building software for their target
leveraging nanopb.

Signed-off-by: William A. Kennington III <wak@google.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
William A. Kennington III
2024-02-09 16:59:19 -08:00
committed by Khem Raj
parent f0d3a2bc86
commit 30bb83b306
5 changed files with 60 additions and 29 deletions
@@ -0,0 +1,13 @@
DESCRIPTION="Protocol Buffers with small code size"
LICENSE="Zlib"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=9db4b73a55a3994384112efcdb37c01f"
SRC_URI = "git://github.com/nanopb/nanopb.git;branch=master;protocol=https"
SRCREV = "6cfe48d6f1593f8fa5c0f90437f5e6522587745e"
S = "${WORKDIR}/git"
inherit cmake
BBCLASSEXTEND = "native nativesdk"