[oe] [PATCH 2/2] protobuf: Split package to main and compiler packages
Felipe F. Tonello
eu at felipetonello.com
Tue Apr 19 15:40:18 UTC 2016
Protobuf has two main features, a compiler and a library. Run-time
applications only need the libraries to run.
Signed-off-by: Felipe F. Tonello <eu at felipetonello.com>
---
meta-oe/recipes-devtools/protobuf/protobuf_2.6.1.bb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta-oe/recipes-devtools/protobuf/protobuf_2.6.1.bb b/meta-oe/recipes-devtools/protobuf/protobuf_2.6.1.bb
index 049f9d4e8f18..f52f22aca3e8 100644
--- a/meta-oe/recipes-devtools/protobuf/protobuf_2.6.1.bb
+++ b/meta-oe/recipes-devtools/protobuf/protobuf_2.6.1.bb
@@ -8,6 +8,8 @@ LICENSE = "BSD-3-Clause"
DEPENDS = "zlib"
+PACKAGE_BEFORE_PN = "${PN}-compiler"
+
LIC_FILES_CHKSUM = "file://LICENSE;md5=af6809583bfde9a31595a58bb4a24514"
SRCREV = "bba83652e1be610bdb7ee1566ad18346d98b843c"
@@ -22,4 +24,6 @@ inherit autotools
S = "${WORKDIR}/git"
+FILES_${PN}-compiler = "${bindir}"
+
BBCLASSEXTEND = "native nativesdk"
--
2.8.0
More information about the Openembedded-devel
mailing list