summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-devtools/protobuf/protobuf_3.6.1.bb7
1 files changed, 5 insertions, 2 deletions
diff --git a/meta-oe/recipes-devtools/protobuf/protobuf_3.6.1.bb b/meta-oe/recipes-devtools/protobuf/protobuf_3.6.1.bb
index f8498c4c88..cf72d9ca7f 100644
--- a/meta-oe/recipes-devtools/protobuf/protobuf_3.6.1.bb
+++ b/meta-oe/recipes-devtools/protobuf/protobuf_3.6.1.bb
@@ -22,10 +22,13 @@ S = "${WORKDIR}/git"
22 22
23inherit autotools-brokensep pkgconfig ptest 23inherit autotools-brokensep pkgconfig ptest
24 24
25PACKAGECONFIG ??= ""
26PACKAGECONFIG[python] = ",,"
27
25EXTRA_OECONF += "--with-protoc=echo" 28EXTRA_OECONF += "--with-protoc=echo"
26 29
27TEST_SRC_DIR = "examples" 30TEST_SRC_DIR = "examples"
28LANG_SUPPORT = "cpp python" 31LANG_SUPPORT = "cpp ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python', '', d)}"
29 32
30do_compile_ptest() { 33do_compile_ptest() {
31 # Modify makefile to use the cross-compiler 34 # Modify makefile to use the cross-compiler
@@ -78,7 +81,7 @@ FILES_${PN}-lite = "${libdir}/libprotobuf-lite${SOLIBS}"
78 81
79RDEPENDS_${PN}-compiler = "${PN}" 82RDEPENDS_${PN}-compiler = "${PN}"
80RDEPENDS_${PN}-dev += "${PN}-compiler" 83RDEPENDS_${PN}-dev += "${PN}-compiler"
81RDEPENDS_${PN}-ptest = "bash python-protobuf" 84RDEPENDS_${PN}-ptest = "bash ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python-protobuf', '', d)}"
82 85
83MIPS_INSTRUCTION_SET = "mips" 86MIPS_INSTRUCTION_SET = "mips"
84 87