Jacob Stiffler
2018-09-13 18:47:11 UTC
From: Qin Su <***@ti.com>
Signed-off-by: Qin Su <***@ti.com>
Signed-off-by: Jacob Stiffler <j-***@ti.com>
---
Changes from v6:
* fix path in LIC_CHKSUM_FILES
Changes from previous versions:
* Add "_git" suffix to recipe name.
* Add version.
* DESCRIPTION --> SUMMARY.
* Add branch option for SRC_URI.
* For installation, use install by looping over files.
* Update license information.
- Use BSD-2-Clause license from caffee sources which were used to
generate these files.
.../recipes-support/armnn-caffe/armnn-caffe_git.bb | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
create mode 100644 meta-arago-extras/recipes-support/armnn-caffe/armnn-caffe_git.bb
diff --git a/meta-arago-extras/recipes-support/armnn-caffe/armnn-caffe_git.bb b/meta-arago-extras/recipes-support/armnn-caffe/armnn-caffe_git.bb
new file mode 100644
index 0000000..509324b
--- /dev/null
+++ b/meta-arago-extras/recipes-support/armnn-caffe/armnn-caffe_git.bb
@@ -0,0 +1,22 @@
+SUMMARY = "Caffe protobuf files - used in ARMNN for Caffe network models"
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://caffeImport/LICENSE;md5=91d560803ea3d191c457b12834553991"
+
+SRC_URI = " \
+ git://git.ti.com/tidl/tidl-utils;branch=${BRANCH} \
+"
+
+PV = "1.0"
+
+BRANCH = "master"
+SRCREV = "16030b2e43de6143f371072d54760737ddda0645"
+
+S = "${WORKDIR}/git"
+
+do_install() {
+ install -d ${D}${datadir}/${BPN}/caffe/proto/
+ for file in ${S}/caffeImport/*
+ do
+ install -m 0644 $file ${D}${datadir}/${BPN}/caffe/proto/
+ done
+}
Signed-off-by: Qin Su <***@ti.com>
Signed-off-by: Jacob Stiffler <j-***@ti.com>
---
Changes from v6:
* fix path in LIC_CHKSUM_FILES
Changes from previous versions:
* Add "_git" suffix to recipe name.
* Add version.
* DESCRIPTION --> SUMMARY.
* Add branch option for SRC_URI.
* For installation, use install by looping over files.
* Update license information.
- Use BSD-2-Clause license from caffee sources which were used to
generate these files.
.../recipes-support/armnn-caffe/armnn-caffe_git.bb | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
create mode 100644 meta-arago-extras/recipes-support/armnn-caffe/armnn-caffe_git.bb
diff --git a/meta-arago-extras/recipes-support/armnn-caffe/armnn-caffe_git.bb b/meta-arago-extras/recipes-support/armnn-caffe/armnn-caffe_git.bb
new file mode 100644
index 0000000..509324b
--- /dev/null
+++ b/meta-arago-extras/recipes-support/armnn-caffe/armnn-caffe_git.bb
@@ -0,0 +1,22 @@
+SUMMARY = "Caffe protobuf files - used in ARMNN for Caffe network models"
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://caffeImport/LICENSE;md5=91d560803ea3d191c457b12834553991"
+
+SRC_URI = " \
+ git://git.ti.com/tidl/tidl-utils;branch=${BRANCH} \
+"
+
+PV = "1.0"
+
+BRANCH = "master"
+SRCREV = "16030b2e43de6143f371072d54760737ddda0645"
+
+S = "${WORKDIR}/git"
+
+do_install() {
+ install -d ${D}${datadir}/${BPN}/caffe/proto/
+ for file in ${S}/caffeImport/*
+ do
+ install -m 0644 $file ${D}${datadir}/${BPN}/caffe/proto/
+ done
+}
--
2.7.4
2.7.4