From: Qin Su <[email protected]>
Signed-off-by: Qin Su <[email protected]>
Signed-off-by: Jacob Stiffler <[email protected]>
---
Changes from previous versions:
* Add "_git" suffix to recipe name.
* Add version.
* DESCRIPTION --> SUMMARY.
* Add branch option for SRC_URI.
* Add dependency on protobuf-native
* Add Apache license version (Apache-2.0)
.../armnn-tensorflow/armnn-tensorflow_git.bb | 25 ++++++++++++++++++++++
1 file changed, 25 insertions(+)
create mode 100644
meta-arago-extras/recipes-support/armnn-tensorflow/armnn-tensorflow_git.bb
diff --git
a/meta-arago-extras/recipes-support/armnn-tensorflow/armnn-tensorflow_git.bb
b/meta-arago-extras/recipes-support/armnn-tensorflow/armnn-tensorflow_git.bb
new file mode 100644
index 0000000..f85c6a8
--- /dev/null
+++ b/meta-arago-extras/recipes-support/armnn-tensorflow/armnn-tensorflow_git.bb
@@ -0,0 +1,25 @@
+SUMMARY = "Tensorflow protobuf files - used in ARMNN for Tensorflow network
models"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=01e86893010a1b87e69a213faa753ebd"
+
+SRC_URI = " \
+ git://github.com/tensorflow/tensorflow.git;name=tensorflow; \
+
git://github.com/ARM-software/armnn.git;name=armnn;subdir=${WORKDIR}/armnn;destsuffix=armnn
\
+"
+
+PV = "1.10.0"
+
+SRCREV_tensorflow = "aed8f42bafabf11c5d92ce4109a5e0408b31f9c5"
+SRCREV_armnn = "4c7098bfeab1ffe1cdc77f6c15548d3e73274746"
+
+DEPENDS = "protobuf-native"
+
+S = "${WORKDIR}/git"
+
+do_install() {
+ install -d ${D}${datadir}/${PN}
+ ${WORKDIR}/armnn/scripts/generate_tensorflow_protobuf.sh
${D}${datadir}/${PN} ${STAGING_DIR_NATIVE}${prefix}
+}
+
+PACKAGES =+ "${PN}-source"
+FILES_${PN}-source = "${datadir}/${PN}"
--
2.7.4
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago